Searching for executable files in system paths
|Copyright||Copyright © 2016, Roman Chistokhodov|
|Registered by||Roman Chistokhodov|
To use this package, put the following dependency into your project's dependencies section:
D library for finding executable files using PATH environment variable.
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.
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 run :findexecutable --build=release -- whoami dub dmd