Skip to main content

resolve_agent_executable

Function resolve_agent_executable 

Source
pub fn resolve_agent_executable(
    command: &str,
    search_dirs: &[PathBuf],
) -> Option<PathBuf>
Expand description

Resolve command in the per-user search_dirs, then on PATH. A command containing a path separator is used as given.