You are here

protected function SigchildEnabledProcessTest::getProcess in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/Tests/SigchildEnabledProcessTest.php \Symfony\Component\Process\Tests\SigchildEnabledProcessTest::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 SigchildEnabledProcessTest::getProcess()
SigchildEnabledProcessTest::testExitCodeText in vendor/symfony/process/Tests/SigchildEnabledProcessTest.php

File

vendor/symfony/process/Tests/SigchildEnabledProcessTest.php, line 141

Class

SigchildEnabledProcessTest

Namespace

Symfony\Component\Process\Tests

Code

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