pub fn locate<P>(exe_name: P) -> Option<PathBuf> where P: AsRef<Path>,
find binary for command
credits to https://stackoverflow.com/questions/37498864/finding-executable-in-path-with-rust