Skip to main content

which

Function which 

Source
pub fn which(cmd: &str) -> Option<PathBuf>
Expand description

shutil.which(cmd): the path of an executable, looked up in PATH if cmd has no directory; on Windows, with the extensions of PATHEXT, and in the current directory first.