pub fn on_path(tool: &str) -> Option<PathBuf>Expand description
Finds an executable on PATH, the way exec does.
Reading PATH is not configuration — it is the environment
describing the machine, the same category as the PATH/HOME
pass-through choir-queue already relies on. Walking it here rather
than shelling out to which costs no subprocess and gives the same
answer the failing Command::new would have got.