Start the command in a TTY. The calling code must not use cmd after passing it to the PTY, and instead rely on the returned Process to manage the command/process.
(cmd *Cmd, opt ...StartOption)
| 56 | // Start the command in a TTY. The calling code must not use cmd after passing it to the PTY, and |
| 57 | // instead rely on the returned Process to manage the command/process. |
| 58 | func Start(cmd *Cmd, opt ...StartOption) (PTYCmd, Process, error) { |
| 59 | return startPty(cmd, opt...) |
| 60 | } |