Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PhpProcess.php

function PhpProcess::start

Overrides Process::start

File

vendor/symfony/process/PhpProcess.php, line 58

Class

PhpProcess
PhpProcess runs a PHP script in an independent process.

Namespace

Symfony\Component\Process

Code

public function start(?callable $callback = null, array $env = []) : void {
    if (null === $this->getCommandLine()) {
        throw new RuntimeException('Unable to find the PHP executable.');
    }
    parent::start($callback, $env);
}
RSS feed
Powered by Drupal