/findexecutable

D library for finding executable files

Primary LanguageDBoost Software License 1.0BSL-1.0

Find executable

D library for finding executable files using PATH environment variable.

Build Status

Originally this was a part of standardpaths library. But I found need in this kind of functionality in my other projects that don't depend on standardpaths.

Online documentation

Examples

Takes the name of executable as command line argument and searches PATH environment variable for retrieving absolute path to file. On Windows it also tries all known executable extensions.

dub examples/find.d whoami dub dmd