Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command interface {
Start() error
Wait() error
StdinPipe() (io.WriteCloser, error)
StdoutPipe() (io.ReadCloser, error)
StderrPipe() (io.ReadCloser, error)
Kill()
}
type CommandInfo ¶
Necessary information to create a new command
func (CommandInfo) NewCommand ¶
func (ci CommandInfo) NewCommand() Command
Create a new Command using golang exec package and the information.
Click to show internal directories.
Click to hide internal directories.