Skip to main content

command_exists_on_path

Function command_exists_on_path 

Source
pub fn command_exists_on_path(command: &str) -> bool
Expand description

True when command resolves to a file on the current PATH. On Windows the common executable extensions (.exe, .cmd, .bat) are also probed. Used for diagnostic “is this runtime available?” hints, not as an execution gate.