Skip to main content

Module shell

Module shell 

Source

Functionsยง

exec
interactive
is_container
Detects if the current process runs inside a Docker/container environment.
is_non_interactive
Returns true if stdin is NOT a terminal (pipe, /dev/null, etc.)
join_command
Join multiple CLI arguments into a single command string, using quoting conventions appropriate for the detected shell.
save_tee
shell_and_flag