Searching for executable files in system paths
To use this package, put the following dependency into your project's dependencies section:
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
- Copyright © 2016, Roman Chistokhodov
Sub packages: findexecutable:findexecutable
0 downloads today
7 downloads this week
17 downloads this month
441 downloads total