Output handles TTY output. cmd.SetOutput(pty.Output()) would be used to specify a command uses the output stream for writing. The same stream could be read to validate output.
()
| 49 | // |
| 50 | // The same stream could be read to validate output. |
| 51 | Output() ReadWriter |
| 52 | |
| 53 | // Input handles TTY input. |
| 54 | // |
no outgoing calls