| 34 | } |
| 35 | |
| 36 | type CmdWrap struct { |
| 37 | Cmd *exec.Cmd |
| 38 | IsShell bool |
| 39 | WaitOnce *sync.Once |
| 40 | WaitErr error |
| 41 | pty.Pty |
| 42 | } |
| 43 | |
| 44 | func MakeCmdWrap(cmd *exec.Cmd, cmdPty pty.Pty, isShell bool) CmdWrap { |
| 45 | return CmdWrap{ |
nothing calls this directly
no outgoing calls
no test coverage detected