ControlMode.send
Send one command and wait for its result block.
Source and package
- Qualified name
-
libtmux::control:: Control Mode:: send - Module
- control
- Declared in
ControlMode- Package
- libtmux
- Source
- crates/libtmux/src/control.rs
-
Description#
Errors
Returns an error when the command cannot be written as a control-mode line, the connection has closed, or its deadline elapses while queued, being written, or awaiting a response.
Cancel safety
As for
ControlSender::send(): a command dropped while queued is never written, and one already committed may run.