Skip to main content

resolve_in_path

Function resolve_in_path 

Source
pub fn resolve_in_path(name: &str, path_var: &str) -> Option<String>
Expand description

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.