Pipe contents of a tmux pane to a shell command
pipe_pane(
target = NULL,
shell_command = NULL,
stdout = TRUE,
stdin = FALSE,
open = FALSE
)
A tmuxr_session, tmuxr_window, or tmuxr_pane.
String. If NULL
, the current pipe (if any) is closed.
Default: NULL
.
Logical. Connect standard output of pane to shell_command
?
Default: TRUE
.
Logical. Connect standard input of pane to shell_command
?
Default: FALSE
.
Logical. Only open a new pipe if no previous pipe exists.
Default: FALSE
.