find_executable_in_dir

Function find_executable_in_dir 

Source
pub fn find_executable_in_dir(dir: &Path, exe_name: &str) -> Option<PathBuf>
Expand description

Find an executable in a directory

Searches for an executable with the given name in the specified directory, trying common subdirectories like “bin”, “Scripts”, etc.