Function resolve_executable_with_path
pub fn resolve_executable_with_path<I, P>(
program: &OsStr,
path_entries: I,
) -> Result<PathBuf>Expand description
Resolve a host executable using an injected list of PATH entries.
Empty and relative entries are ignored deliberately: an empty entry means the current directory, and a relative entry would be interpreted relative to whatever directory the child eventually receives. Callers therefore cannot accidentally validate one launcher and execute a workspace shadow.