Connection.Call
Call executes one safely encoded tmux command on an owned lane and returns every reply frame in order. An alias may produce zero or multiple frames; a %error frame remains result data through ControlCommandResult.Failed. Args always describe one command, so a bare semicolon is quoted as an operand rather than interpreted as a command-list separator.
Source and package
- Qualified name
-
tmux.Connection. Call - Package
- tmux
- Declared in
Connection- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/connection.go
- func (c *Connection) Call( ctx context
.Context , args ...string, ) ([]ControlCommand , error)Result