On this page
io.github.libtmux.Server.Server.run
- Module
- io.github.libtmux.Server
- Declared in
- Server
- Package
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Server.java
- run ( argv : List<String> ) CommandResult ( snapshot : ServerSnapshot , argv : List<String> ) CommandResult ( snapshot : ServerSnapshot , expected : WindowContext , argv : List<String> ) CommandResult
-
Runs a command that is expected to work, and raises when it did not.
<p>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.
0 declared, 0 inherited