pub fn command_on_path(cmd: &str) -> boolExpand description
What: Determine whether a command is available on the Unix PATH.
Input:
cmd: Program name or explicit path to inspect.
Output:
truewhen an executable file is found and marked executable.
Details:
- Same rules as
resolve_command_on_path; kept as a convenience for boolean checks.