Skip to main content

which

Function which 

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

Finds the full path to an executable.

ยงErrors

Returns an error if the executable is not found.