- Method search_path
Search for the path to an executable.
Executable to search for.
commandin the directories listed in the environment variable $PATH.
Returns the path to
commandif found, and
0(zero) on failure.
This function is NOT thread safe if the environment variable $PATH is being changed concurrently.
In Pike 7.8.752 and earlier the environment variable $PATH was only read once.