Documentation
¶
Overview ¶
Package externalcmd allows to launch external commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
Pool *Pool
Cmdstr string
Restart bool
Env Environment
OnExit OnExitFunc
// contains filtered or unexported fields
}
Cmd is an external command.
type OnExitFunc ¶ added in v1.1.0
type OnExitFunc func(error)
OnExitFunc is the prototype of onExit.
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool is a pool of external commands.
func (*Pool) Initialize ¶ added in v1.12.0
func (p *Pool) Initialize()
Initialize initializes a Pool.
Click to show internal directories.
Click to hide internal directories.