Runner interface for shell commands
| 16 | |
| 17 | // Runner interface for shell commands |
| 18 | type Runner interface { |
| 19 | Execute(cmd string, args []string, env map[string]string) ([]byte, error) |
| 20 | ExecuteStdIn(cmd string, args []string, env map[string]string, stdin io.Reader) ([]byte, error) |
| 21 | } |
| 22 | |
| 23 | // ShellRunner implemention for shell commands |
| 24 | type ShellRunner struct { |
no outgoing calls
no test coverage detected