| PEAR Handbuch | ||
|---|---|---|
| Zurück | Nach vorne | |
This command is taken from the internal bash one. It is equivalent to the "which" Unix command in some systems.
Parameter
$string - the program to search in the $PATH
Returns
mixed - string the full path of the given command or false if the command wasn't found or has no execution perms.
// On Unix systems "grep" will be searched and in
// Windows systems "grep.exe" instead
$path = System::type("grep");
// $path could contain something like "/usr/bin/grep" |
| Zurück | Zum Anfang | Nach vorne |
| System::mkTemp() | Nach oben | PEAR Pakete |