View as Markdown Copy Markdown
Pipe pane output to a shell command via $ tmux pipe-pane.
$ tmux pipe-pane
Examples
>>> pane.pipe('cat >> /tmp/output.txt')
Stop piping:
>>> pane.pipe()
command ( str | None ) – Shell command to pipe to. If None, stops piping.
output_only ( bool | None ) – Only pipe output from the pane (-O flag).
-O
input_only ( bool | None ) – Only pipe input to the pane (-I flag).
-I
toggle ( bool | None ) – Toggle piping on/off (-o flag).
-o
0 declared, 0 inherited
Type to search.