Skip to main content

batch_shell

Function batch_shell 

Source
pub fn batch_shell() -> String
Expand description

Deterministic batch shell for RUN step execution: sh on Unix, cmd on Windows. Never the operator’s $SHELL: login shells re-pollute scrubbed children (observed live: zsh sourcing /etc/zshenv and synthesizing HOME/LOGNAME from getpwuid regardless of flags) and break script portability (fish/tcsh cannot run POSIX step text). Interactive use (oxdock --shell) keeps shell_program().