Server.run
Runs a command that is expected to work, and raises when it did not.
Source and package
- Qualified name
-
io.github .libtmux .Server. run - Package
- io.github.libtmux
- Declared in
Server- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Server.java
- @Operation(Kind
.MUTATION ) public CommandResult run(List<String> argv) -
Description#
The counterpart to
#cmd(): use this when a nonzero exit means the thing you asked for did not happen, andcmdwhen a nonzero exit is an answer you want to inspect. tmux reports an ordinary miss and a real problem the same way, so only the caller knows which it is.- Parameters
- Raises
-
-
Lib
Tmux – if tmux reported a nonzero exitException
-