protected function SigchildDisabledProcessTest::getProcess

Parameters

string $commandline:

null $cwd:

array $env:

null $stdin:

integer $timeout:

array $options:

Return value

Process

Overrides AbstractProcessTest::getProcess

1 call to SigchildDisabledProcessTest::getProcess()
SigchildDisabledProcessTest::testExitCodeText in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php
@expectedException Symfony\Component\Process\Exception\RuntimeException

File

drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php, line 144

Class

SigchildDisabledProcessTest

Namespace

Symfony\Component\Process\Tests

Code

protected function getProcess($commandline, $cwd = null, array $env = null, $stdin = null, $timeout = 60, array $options = array()) {
  $process = new ProcessInSigchildEnvironment($commandline, $cwd, $env, $stdin, $timeout, $options);
  $process
    ->setEnhanceSigchildCompatibility(false);
  return $process;
}