chickadee » directory-utils » find-command-pathnames

find-command-pathnames COMMAND-NAME #!optional ENVIRONMENT-VARIABLEprocedure

Returns the pathnames of COMMAND-NAME in the ENVIRONMENT-VARIABLE where the file exists, or #f when nothing found.

The default ENVIRONMENT-VARIABLE is "PATH".

Uses the platform specific "PATH" environment variable element separator - a Windows #\;, and a *nix #\:.