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

io.github.libtmux.Pane.Pane.pipeTo

View as Markdown

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

Sends everything this pane prints to a shell command, until #stopPiping .

A second call replaces the first: tmux keeps one pipe per pane, not a list.

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
  • shellCommand ( String ) – run by the user's shell, so it may redirect and pipe

In other ports Copy a pane's output to a shell command

0 declared, 0 inherited

Esc

Type to search.