Const
Pipe a tmux pane's output to (or input from) a shell command (tmux pipe-pane).
tmux pipe-pane
An empty string on success.
await tmux.pipePane("cat >> /tmp/log", { targetPane: "0" });// omit the command to close any existing pipeawait tmux.pipePane(); Copy
await tmux.pipePane("cat >> /tmp/log", { targetPane: "0" });// omit the command to close any existing pipeawait tmux.pipePane();
Pipe a tmux pane's output to (or input from) a shell command (
tmux pipe-pane).