ExecCommand can be implemented to execute things in a blocking fashion in the current terminal.
| 58 | // ExecCommand can be implemented to execute things in a blocking fashion in |
| 59 | // the current terminal. |
| 60 | type ExecCommand interface { |
| 61 | Run() error |
| 62 | SetStdin(io.Reader) |
| 63 | SetStdout(io.Writer) |
| 64 | SetStderr(io.Writer) |
| 65 | } |
| 66 | |
| 67 | // wrapExecCommand wraps an exec.Cmd so that it satisfies the ExecCommand |
| 68 | // interface so it can be used with Exec. |
no outgoing calls
no test coverage detected
searching dependent graphs…