protected function SigchildEnabledProcessTest::getProcess

Parameters

string $commandline:

null $cwd:

array $env:

null $stdin:

integer $timeout:

array $options:

Return value

Process

Overrides AbstractProcessTest::getProcess

1 call to SigchildEnabledProcessTest::getProcess()
SigchildEnabledProcessTest::testExitCodeText in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SigchildEnabledProcessTest.php

File

drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SigchildEnabledProcessTest.php, line 104

Class

SigchildEnabledProcessTest

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(true);
  return $process;
}