Skip to main content

first_existing_executable

Function first_existing_executable 

Source
pub fn first_existing_executable<'a, I>(candidates: I) -> Option<PathBuf>
where I: IntoIterator<Item = &'a Path>,
Expand description

First existing executable among candidate paths (skips missing / non-exec).