Command is part of the Interface interface.
(cmd string, args ...string)
| 98 | |
| 99 | // Command is part of the Interface interface. |
| 100 | func (executor *executor) Command(cmd string, args ...string) Cmd { |
| 101 | return (*cmdWrapper)(exec.Command(cmd, args...)) |
| 102 | } |
| 103 | |
| 104 | // CommandContext is part of the Interface interface. |
| 105 | func (executor *executor) CommandContext(ctx context.Context, cmd string, args ...string) Cmd { |