Module findexecutable

Searching for executable files in system paths.

Functions

Name Description
binPaths System paths where executable files can be found.
executableExtensions Default executable extensions for the current system. On Windows this functions examines PATHEXT environment variable to get the list of executables extensions. Fallbacks to .exe;.com;.bat;.cmd if PATHEXT does not list .exe extension. On other systems it always returns empty range.
findExecutable Find executable by fileName in the paths.
findExecutable ditto, but on Windows when fileName extension is omitted, executable extensions are appended during search.
findExecutable ditto, but searches in system paths, determined by PATH environment variable. On Windows when fileName extension is omitted, executable extensions are appended during search.

Authors

Roman Chistokhodov

Copyright

Roman Chistokhodov 2016

License

Boost License 1.0.