Searching for executable files in system paths
To use this package, run the following command in your project's root directory:
This package provides sub packages which can be used individually:
findexecutable:findexecutable - A minimal D application.
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
- Registered by Roman Chistokhodov
- 0.1.1 released 4 years ago
- Copyright © 2016, Roman Chistokhodov