findexecutable

Searching for executable files in system paths.

Members

Functions

binPaths
auto binPaths()

System paths where executable files can be found.

executableExtensions
auto executableExtensions()

Default executable extensions for the current system.

findExecutable
string findExecutable(string fileName, Paths paths, Exts extensions)

Find executable by fileName in the paths.

findExecutable
string findExecutable(string fileName, Paths paths)

ditto, but on Windows when fileName extension is omitted, executable extensions are appended during search.

findExecutable
string findExecutable(string fileName)

ditto, but searches in system paths, determined by PATH environment variable. On Windows when fileName extension is omitted, executable extensions are appended during search.

Meta