Cmd holds definition of a command
| 16 | |
| 17 | // Cmd holds definition of a command |
| 18 | type Cmd struct { |
| 19 | execPath string |
| 20 | args []string |
| 21 | env []string |
| 22 | cleanEnv bool |
| 23 | timeout time.Duration |
| 24 | stdin io.Reader |
| 25 | } |
| 26 | |
| 27 | // NewCmd constructs a new command |
| 28 | func NewCmd(execPath string) Cmd { |
nothing calls this directly
no outgoing calls
no test coverage detected