find-in-path ( string -- path/f )


Vocabulary
io.standard-paths

Inputs
stringa string


Outputs
path/fa string or f


Word description
Returns the path of the first executable file found in PATH, or false if none is found. Directories are skipped. Unix searches require execute permission. Windows searches recognize PATHEXT and append its extensions to commands without an extension, preserving directory order before extension order.

Definition