Documentation ¶
Index ¶
- func EnvMap(env expand.Environ) (res map[string]expand.Variable)
- func EnvStrings(env expand.Environ, f func(v *expand.Variable) bool) (res []string)
- type Cmd
- func (r *Cmd) OnDone(f ...func())
- func (r *Cmd) OnDoneE(f func() error)
- func (r *Cmd) Run() (err error)
- func (r *Cmd) RunContext(ctx context.Context) (err error)
- func (r *Cmd) Signal(sig os.Signal) (err error)
- func (r *Cmd) Start() (err error)
- func (r *Cmd) StartContext(ctx context.Context) (err error)
- func (r *Cmd) Timeout() time.Duration
- func (r *Cmd) Wait() (err error)
- type CmdBuilder
- type CmdTimeoutError
- type Environ
- type StdIOType
- type UniquerEnviron
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CmdBuilder ¶
type CmdTimeoutError ¶
type CmdTimeoutError struct {
Cmd *Cmd
}
func (CmdTimeoutError) Cause ¶
func (d CmdTimeoutError) Cause() error
func (*CmdTimeoutError) Error ¶
func (d *CmdTimeoutError) Error() string
Click to show internal directories.
Click to hide internal directories.