- Method search_path
string search_path(string command)
Search for the path to an executable.
- Parameter command
Executable to search for.
Searches for command in the directories listed in the environment variable $PATH.
Returns the path to command if 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.