Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Command string Arguments []string Environ []string Dir string Stdin io.Reader Stdout io.Writer Stderr io.Writer SetPID SetPID // contains filtered or unexported fields }
Command holds the configuration to run a shell command
func NewCommand ¶
NewCommand instantiate a default Command without receiving OS signals (SIGTERM, etc.)
func NewSignalledCommand ¶ added in v0.6.1
NewSignalledCommand instantiate a default Command receiving OS signals (SIGTERM, etc.)
Click to show internal directories.
Click to hide internal directories.