Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = func(name string, args ...string) Cmd { return &realCmd{exec.Command(name, args...)} }
Command is a hook for mocking
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd interface { StdoutPipe() (io.ReadCloser, error) StderrPipe() (io.ReadCloser, error) Start() error Wait() error Kill() error }
Cmd is a hook for mocking
Source Files
¶
- exec.go
Click to show internal directories.
Click to hide internal directories.