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

Breadcrumb

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

function PhpSubprocess::start

Overrides Process::start

File

vendor/symfony/process/PhpSubprocess.php, line 81

Class

PhpSubprocess
PhpSubprocess runs a PHP command as a subprocess while keeping the original php.ini settings.

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);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal