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 {
// contains filtered or unexported fields
}
Cmd is an external command.
func NewCmd ¶
func NewCmd( pool *Pool, cmdstr string, restart bool, env Environment, onExit OnExitFunc, ) *Cmd
NewCmd allocates a Cmd.
type OnExitFunc ¶ added in v1.1.0
type OnExitFunc func(error)
OnExitFunc is the prototype of onExit.
Click to show internal directories.
Click to hide internal directories.