Skip to main content

command_on_path

Function command_on_path 

Source
pub fn command_on_path(cmd: &str) -> bool
Expand description

True if cmd resolves to an executable on PATH (Windows: also tries PATHEXT-style .exe/.cmd).