Skip to main content

spawn_interactive_shell

Function spawn_interactive_shell 

Source
pub fn spawn_interactive_shell(
    cwd: &GuardedPath,
    workspace_root: &GuardedPath,
    banner: &str,
) -> Result<()>
Expand description

Spawn an interactive shell rooted at cwd, printing banner before handing control to the user’s shell.

workspace_root anchors the guarded path resolver used to reattach the controlling TTY on Unix.