[Process] fixed previous commit
This commit is contained in:
parent
b2a8e35900
commit
7280da8af2
@ -62,8 +62,8 @@ class PhpProcess extends Process
|
||||
*/
|
||||
public function run($callback = null)
|
||||
{
|
||||
if (null === $this->commandline) {
|
||||
$this->commandline = $this->getPhpBinary();
|
||||
if (null === $this->getCommandLine()) {
|
||||
$this->setCommandLine($this->getPhpBinary());
|
||||
}
|
||||
|
||||
return parent::run($callback);
|
||||
|
@ -284,6 +284,11 @@ class Process
|
||||
$this->stderr .= $line;
|
||||
}
|
||||
|
||||
public function getCommandLine()
|
||||
{
|
||||
return $this->commandline;
|
||||
}
|
||||
|
||||
public function setCommandLine($commandline)
|
||||
{
|
||||
$this->commandline = $commandline;
|
||||
|
Reference in New Issue
Block a user