Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

io.github.libtmux.Server.Server.runShell

View as Markdown

Module
io.github.libtmux.Server
Declared in
Server
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Server.java
Other languages
PythonRuby Lua TypeScriptRustGo.NETC++ Swift
runShell ( command : String ) → void
method [source]
method [source]
runShell

Runs a shell command through tmux, for its effect.

Nothing is claimed about what it printed — see #runShellCapturing for that, and for why the two are separate.

tmux expands #(...) in this command before a shell sees it, and shell quoting does not prevent that. Pass any interpolated value through TmuxFormats#literal unless you mean it to be expanded.

Parameters
  • command ( String ) – run by the user's shell, so it may redirect and pipe

In other ports Run a shell command through tmux

0 declared, 0 inherited

Esc

Type to search.