com.spcapitaliq.platformexecuting
An error ADT for localExe
and delegates.
Classloader resource paths at which an executable might be found.
Classloader resource paths at which an executable might be found.
In priority order, classpath resource identifiers, meant to be resolved by a classloader (not a class), at which an executable might be discovered.
Where an executable ought to be stored in the classpath.
Where an executable ought to be stored in the classpath.
capturePaths(e, r, p)
contains captureTo(e, r, p)
If exe
has been captured, and is appropriate for this platform,
yield its location.
If exe
has been captured, and is appropriate for this platform,
yield its location. A building block for
com.spcapitaliq.platformexecuting.Invoke.tempInvokableExe
.
If an executable location is explicitly specified in the environment, sanity check it.
If an executable location is explicitly specified in the environment, sanity check it. None means unspecified, Some Left means insane.
Search the exec path for exe
.
If env
is set in the environment, prefer it, otherwise
searching PATH.
If env
is set in the environment, prefer it, otherwise
searching PATH. Answer a reason it couldn't be found, or a path
to the exe
.
Finding installed and jar-contained executables.
captureTo
is the key function for users of this object.