Skip to main content

Module shell

Module shell 

Source
Expand description

Interactive terminal session against a pty command in a Sailbox.

Sailbox::shell is the high-level entry; the CLI drives [run_interactive] directly for its --tty flows. It puts the local terminal in raw mode, forwards keystrokes (so Ctrl-C/Ctrl-D reach the remote process as signals), renders the merged output, propagates window resizes, and restores the terminal on exit. Unix-only: on other platforms the calls return an unsupported error and the build still succeeds.

Structsยง

ShellOptions
Options for Sailbox::shell.