Skip to main content

which

Function which 

Source
pub fn which<T: AsRef<OsStr>>(binary_name: T) -> Option<PathBuf>
Expand description

Resolve binary_name to an absolute path by searching PATH (and PATHEXT on Windows).