Available on crate feature
process only.Expand description
Process and shell helpers.
Structs§
- Exit
Code - Error type for commands that intentionally terminate with a specific process exit code.
Functions§
- command_
exists - Return true when
programexists somewhere onPATH. - ensure_
command - Fail with a user-facing message when
programis not onPATH. - push_
dir - Temporarily change the shell’s current directory for a command block.
- shell
- Create an
xshell::Shellwith context suitable for CLI errors.