Description

Searching for executable files in system paths

Package Information

Version0.1.1 (2016-Sep-26)
Repositoryhttps://github.com/FreeSlave/findexecutable
LicenseBSL-1.0
CopyrightCopyright © 2016, Roman Chistokhodov
AuthorsRoman Chistokhodov
Registered byRoman Chistokhodov
Sub packages
./examples/findexecutable/
[directory based sub package]
Dependenciesnone

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

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 run :findexecutable --build=release -- whoami dub dmd

Available versions

0.1.1 0.1.0 ~master