PTYProcess.Write
Write sends terminal input to the subprocess within ctx. Writes are serialized and can be partial. A waiting caller may cancel before acquiring the writer, and an active write observes ctx cancellation.
Source and package
- Qualified name
-
tmuxtest.PTYProcess. Write - Package
- tmuxtest
- Declared in
PTYProcess- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/tmuxtest/pty_process.go
- func (p *PTYProcess) Write( ctx context
.Context , input []byte, ) (int, error)