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

View source: R/pane.R

pipe_paneR Documentation

Pipe contents of a tmux pane to a shell command

Description

Pipe contents of a tmux pane to a shell command

Usage

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.


datascienceworkshops/tmuxr documentation built on April 26, 2024, 5:26 a.m.