Name of executable to search. Should be base name or absolute path. Relative paths will not work. If it's an absolute path, this function does not try to append extensions.
Range of directories where executable should be searched.
Range of extensions to append during searching if fileName does not have extension. Note: Currently it does not check if current user really have permission to execute the file on Windows.
Absolute path to the existing executable file or an empty string if not found.
Find executable by fileName in the paths.