Finds an executable by name.
public find ( string $name, string $default = null, array $extraDirs = [] ) : string | ||
$name | string | The executable name (without the extension) |
$default | string | The default to return if no executable is found |
$extraDirs | array | Additional dirs to check into |
return | string | The executable path or default value |