tmux_pipe_pane
Pipe a tmux pane's output to a shell command for logging or processing. Toggle piping of new output only with only_new, or stop piping by omitting the command.
Instructions
Pipe a pane's output to a shell command (great for logging).
With command, tmux feeds everything the pane prints to that command's
stdin, e.g. command="cat >> /tmp/pane.log". only_new=True (-o) toggles:
if a pipe is already open it is closed, otherwise opened. Call with no
command to stop piping. Returns {"piping": bool}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_pane | Yes | ||
| command | No | ||
| only_new | No | ||
| target | No |