Skip to main content

which

Function which 

Source
pub fn which(name: &OsStr) -> Option<PathBuf>
Expand description

The first executable name on PATH (or name itself if it’s a path).