Skip to main content

which_bin

Function which_bin 

Source
pub fn which_bin(name: &str) -> Option<PathBuf>
Expand description

Locate an executable on $PATH without shelling out to which/where.

On Windows, also tries {name}.exe. Returns the first existing regular file.