Learn R Programming

tmuxr (version 0.2.4)

tmux_command: Execute a tmux command

Description

Execute a tmux command

Usage

tmux_command(command, ..., .silent = FALSE)

Arguments

command

A string.

...

Strings. Command flags.

.silent

A Logical. Default: FALSE.

Value

A vector of strings.

Examples

Run this code
# NOT RUN {
s <- new_session()
split_window(s)
tmux_command("list-panes", "-t" , "0")
kill_session(s)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab