pipe_pane: Pipe contents of a tmux pane to a shell command

Description Usage Arguments

View source: R/pane.R

Description

Pipe contents of a tmux pane to a shell command

Usage

1
2
3
4
5
6
7
pipe_pane(
  target = NULL,
  shell_command = NULL,
  stdout = TRUE,
  stdin = FALSE,
  open = FALSE
)

Arguments

target

A tmuxr_session, tmuxr_window, or tmuxr_pane.

shell_command

String. If NULL, the current pipe (if any) is closed. Default: NULL.

stdout

Logical. Connect standard output of pane to shell_command? Default: TRUE.

stdin

Logical. Connect standard input of pane to shell_command? Default: FALSE.

open

Logical. Only open a new pipe if no previous pipe exists. Default: FALSE.


tmuxr documentation built on July 1, 2020, 5:19 p.m.