[][src]Function reef::path::which

pub fn which(name: &str) -> Option<PathBuf>

uses the PATH environment variable to search for a filename matching the specified name. if a matching filename is not found, it will check for the existence of name.exe and name.bat