ControlClient.send
Runs one command and waits for its reply.
Source and package
- Qualified name
-
io.github .libtmux .control .Control Client. send - Package
- io.github.libtmux.control
- Declared in
ControlClient- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/control/ControlClient.java
- @Operation(Kind
.MUTATION ) public ControlReply send(String... argv)@Operation(Kind.MUTATION ) public ControlReply send(List<String> argv)@Operation(Kind.MUTATION ) public ControlReply send( List<String> argv, Duration timeout) -
Description#
Nested tmux command strings (
if-shell,run-shell -C, hooks, brace blocks,source-file) are not checked; do not nest a command this library refuses.- Parameters
- Returns
-
tmux's reply for
send(argv, timeout) - Raises
-
-
Dispatch
Exception – if the request cannot complete; itsoutcome()isDispatchOutcome.NOT_DISPATCHEDuntil the writer picks the request andDispatchOutcome.UNKNOWNafterwards forsend(argv, timeout)
-
Guides#
Pages that discuss send.