findexecutable 0.1.0
Searching for executable files in system paths
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
This package provides sub packages which can be used individually:
findexecutable:findexecutable - A minimal D application.
Find executable
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.
Examples
Find executable
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
- 0.1.0 released 8 years ago
- FreeSlave/findexecutable
- BSL-1.0
- Copyright © 2016, Roman Chistokhodov
- Authors:
- Sub packages:
- findexecutable:findexecutable
- Dependencies:
- none
- Versions:
-
0.2.0 2020-Jul-24 0.1.1 2016-Sep-26 0.1.0 2016-Apr-21 ~master 2021-Jun-09 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
0 downloads total
-
- Score:
- 0.6
- Short URL:
- findexecutable.dub.pm