findexecutable 0.2.0

Searching for executable files in system paths


To use this package, run the following command in your project's root directory:

Find executable

D library for finding executable files using PATH environment variable.

Build Status

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.

Online documentation

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 examples/find.d whoami dub dmd
Authors:
  • Roman Chistokhodov
Dependencies:
none
Versions:
0.2.0 2020-Jul-24
0.1.1 2016-Sep-26
0.1.0 2016-Apr-21
~master 2020-Jul-24
Show all 4 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 9 downloads this month

  • 664 downloads total

Score:
0.4
Short URL:
findexecutable.dub.pm