new_window | R Documentation |
Create a new tmux window with name name
.
When the shell command completes, the window closes.
new_window(
target = NULL,
name = NULL,
focus = TRUE,
start_directory = NULL,
shell_command = NULL
)
target |
A tmuxr_session or tmuxr_window. If |
name |
A string. Name of the window. If |
focus |
A logical. If |
start_directory |
A string. Working directory this window is run in. |
shell_command |
A string. Shell command to be invoked when creating the
window. If |
A tmuxr_window.
## Not run:
s <- new_session()
new_window()
kill_session(s)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.