Function which::which_in

source · []
pub fn which_in<T, U, V>(
    binary_name: T,
    paths: Option<U>,
    cwd: V
) -> Result<PathBuf> where
    T: AsRef<OsStr>,
    U: AsRef<OsStr>,
    V: AsRef<Path>, 
Expand description

Find binary_name in the path list paths, using cwd to resolve relative paths.