pub fn resolve_in_path(name: &str, path_var: &str) -> Option<String>
Resolve a command name in PATH.
Searches each directory in path_var (colon-separated) for an executable named name. Returns the full path if found.
path_var
name