https://github.com/freeslave/findexecutable
D library for finding executable files
https://github.com/freeslave/findexecutable
d dlang find-executables
Last synced: 4 months ago
JSON representation
D library for finding executable files
- Host: GitHub
- URL: https://github.com/freeslave/findexecutable
- Owner: FreeSlave
- License: bsl-1.0
- Created: 2016-04-20T20:08:30.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-06-09T23:22:37.000Z (almost 5 years ago)
- Last Synced: 2025-01-22T14:45:56.617Z (over 1 year ago)
- Topics: d, dlang, find-executables
- Language: D
- Homepage:
- Size: 68.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE_1_0.txt
Awesome Lists containing this project
README
# Find executable
D library for finding executable files using PATH environment variable.
[](https://github.com/FreeSlave/findexecutable/actions/workflows/ci.yml)
Originally this was a part of [standardpaths](https://github.com/FreeSlave/standardpaths) library. But I found need in this kind of functionality in my other projects that don't depend on standardpaths.
[Online documentation](https://freeslave.github.io/findexecutable/findexecutable.html)
## Examples
### [Find executable](examples/find.d)
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