ControlClient.Call
Call executes one safely encoded tmux command and returns all its reply frames. Cancellation after writing returns ErrOutcomeUnknown with the context error while the client drains through the boundary before reuse. A transport failure returns any frames proven before the failure together with ErrOutcomeUnknown.
Source and package
- Qualified name
-
tmux.Control Client. Call - Package
- tmux
- Declared in
ControlClient- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/control_request.go
- func (c *Control
Client ) Call( ctx context.Context , args ...string, ) ([]ControlCommand , error)Result -
- Bounded by
- Cancellation after writing returns
ErrOutcomeUnknownwith the context error while the client drains through the boundary before reuse.doc comment · control_request.go:121 - Errors
- A transport failure returns any frames proven before the failure together with
ErrOutcomeUnknown.doc comment · :122
- Parameters
-
Recorded calls
source callsThe Go reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls tmux.ControlClient.Call.