pub fn resolve_agent_executable( command: &str, search_dirs: &[PathBuf], ) -> Option<PathBuf>
Resolve command in the per-user search_dirs, then on PATH. A command containing a path separator is used as given.
command
search_dirs
PATH