|
@@ 297-303 (lines=7) @@
|
| 294 |
|
$this->process->setEnv($this->env); |
| 295 |
|
} |
| 296 |
|
|
| 297 |
|
if (!$this->background and !$this->isPrinted) { |
| 298 |
|
$this->startTimer(); |
| 299 |
|
$this->process->run(); |
| 300 |
|
$this->stopTimer(); |
| 301 |
|
return new Result($this, $this->process->getExitCode(), |
| 302 |
|
$this->process->getOutput(), $this->getResultData()); |
| 303 |
|
} |
| 304 |
|
|
| 305 |
|
if (!$this->background and $this->isPrinted) { |
| 306 |
|
$this->startTimer(); |
|
@@ 305-311 (lines=7) @@
|
| 302 |
|
$this->process->getOutput(), $this->getResultData()); |
| 303 |
|
} |
| 304 |
|
|
| 305 |
|
if (!$this->background and $this->isPrinted) { |
| 306 |
|
$this->startTimer(); |
| 307 |
|
$this->process->run($output_callback); |
| 308 |
|
$this->stopTimer(); |
| 309 |
|
return new Result($this, $this->process->getExitCode(), |
| 310 |
|
$this->process->getOutput(), $this->getResultData()); |
| 311 |
|
} |
| 312 |
|
|
| 313 |
|
try { |
| 314 |
|
$this->process->start(); |