Expand description
The shell a command line runs in: sh -c on Unix, Windows PowerShell on
Windows (always present, unlike sh). The command-effect checks are
written for POSIX shells and fail closed: a PowerShell line they cannot
read as a known observation or local work is treated as unknown, so it
asks first.
Constants§
- POWERSHELL_
EXIT_ EPILOGUE - Appended to every PowerShell script so the shell exits as
shdoes: with the last program’s own exit code.-Commandalone turns any failing last step into 1, sopython x.pyexiting 7 read as 1.
Functions§
- shell_
available - Whether this platform’s shell is there to run commands.
- shell_
command scriptrun by this platform’s shell.