pub fn find_command(
name: &str,
path: &OsStr,
extensions: &[&str],
) -> Option<PathBuf>Expand description
The file name names among the directories path (as PATH lists
them), with one of the extensions extensions ("" for none): what a
shell would run for name. A name with a directory in it is taken as
it is.