x_fs_executable_find
Find an executable in the directories listed by PATH.
X_FILESYSTEM_API bool x_fs_executable_find(
const char *name,
XFSPath *out_path
);
Parameters
const char *name- Executable name to find. On Windows, PATHEXT is searched when the name does not already resolve to a file.
XFSPath *out_path- Output path receiving the executable path.
Returns
True when an executable was found, false otherwise.