fn check_has_installed_exe<P: AsRef<Path>>(path: P, name: &'static str) -> bool