ControlClient.Cmd
Cmd executes one safely encoded tmux command through the control client. It requires exactly one reply frame and returns ErrControlReplyCount otherwise. Use ControlClient.Call for aliases that may produce zero or multiple frames.
Source and package
- Qualified name
-
tmux.Control Client. Cmd - Package
- tmux
- Declared in
ControlClient- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/control_request.go
- func (c *Control
Client ) Cmd( ctx context.Context , args ...string, ) (ControlCommand , error)Result