Skip to main content

create_session

Function create_session 

Source
pub fn create_session(
    session: &str,
    program: &str,
    args: &[String],
    work_dir: &str,
) -> Result<()>
Expand description

Create a detached tmux session running the given command.

The session is created with new-session -d so it starts in the background. The executor command is the initial command the session runs.