Input handles TTY input. cmd.SetInput(pty.Input()) would be used to specify a command uses the PTY input for reading. The same stream would be used to provide user input: pty.Input().Write(...)
()
| 57 | // |
| 58 | // The same stream would be used to provide user input: pty.Input().Write(...) |
| 59 | Input() ReadWriter |
| 60 | } |
| 61 | |
| 62 | // Process represents a process running in a PTY. We need to trigger special processing on the PTY |
no outgoing calls