protected function SigchildDisabledProcessTest::getProcess in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/process/Tests/SigchildDisabledProcessTest.php \Symfony\Component\Process\Tests\SigchildDisabledProcessTest::getProcess()
Parameters
string $commandline:
null|string $cwd:
null|array $env:
null|string $input:
int $timeout:
array $options:
Return value
Process
Overrides AbstractProcessTest::getProcess
1 call to SigchildDisabledProcessTest::getProcess()
- SigchildDisabledProcessTest::testExitCodeText in vendor/
symfony/ process/ Tests/ SigchildDisabledProcessTest.php - @expectedException \Symfony\Component\Process\Exception\RuntimeException @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.
File
- vendor/
symfony/ process/ Tests/ SigchildDisabledProcessTest.php, line 256
Class
Namespace
Symfony\Component\Process\TestsCode
protected function getProcess($commandline, $cwd = null, array $env = null, $input = null, $timeout = 60, array $options = array()) {
$process = new ProcessInSigchildEnvironment($commandline, $cwd, $env, $input, $timeout, $options);
$process
->setEnhanceSigchildCompatibility(false);
return $process;
}