Searching for executable files in system paths
To use this package, run the following command in your project's root directory:
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 examples/find.d whoami dub dmd
- 0.2.0 released 5 months ago
- Copyright © 2016, Roman Chistokhodov