[Process] fixed HHVM usage on the CLI
This commit is contained in:
parent
9f25978643
commit
8fbea0fe4d
@ -34,8 +34,8 @@ class PhpExecutableFinder
|
|||||||
public function find()
|
public function find()
|
||||||
{
|
{
|
||||||
// HHVM support
|
// HHVM support
|
||||||
if (defined('HHVM_VERSION') && false !== $hhvm = getenv('PHP_BINARY')) {
|
if (defined('HHVM_VERSION')) {
|
||||||
return $hhvm;
|
return (false !== ($hhvm = getenv('PHP_BINARY')) ? $hhvm : PHP_BINARY).' --php';
|
||||||
}
|
}
|
||||||
|
|
||||||
// PHP_BINARY return the current sapi executable
|
// PHP_BINARY return the current sapi executable
|
||||||
|
Reference in New Issue
Block a user