execute_in_session

Function execute_in_session 

Source
pub async fn execute_in_session(
    pool_key: &str,
    initial_cwd: Option<&str>,
    command: &str,
    command_cwd: Option<&str>,
    timeout_secs: Option<u64>,
    tx: Sender<StreamChunk>,
) -> Result<StreamingCommandResult>
Expand description

Execute a shell command inside a reusable PTY-backed session.