pub fn candidates(
program: &Path,
variable: impl Fn(&str) -> Option<OsString>,
) -> Vec<PathBuf>Expand description
Candidate paths in lookup order, for the environment variable reads. Scoped callers
validate each candidate inside their own access boundary before allowing it to reach a
process launcher.