pub fn command_on_path(cmd: &str) -> bool
True if cmd resolves to an executable on PATH (Windows: also tries PATHEXT-style .exe/.cmd).
cmd
PATH
.exe
.cmd