| 17 | ) |
| 18 | |
| 19 | type LocalCommand struct { |
| 20 | command string |
| 21 | argv []string |
| 22 | |
| 23 | closeSignal syscall.Signal |
| 24 | closeTimeout time.Duration |
| 25 | |
| 26 | cmd *exec.Cmd |
| 27 | pty *os.File |
| 28 | ptyClosed chan struct{} |
| 29 | } |
| 30 | |
| 31 | func New(command string, argv []string, options ...Option) (*LocalCommand, error) { |
| 32 | cmd := exec.Command(command, argv...) |
nothing calls this directly
no outgoing calls
no test coverage detected