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

Breadcrumb

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

function PhpSubprocess::fromShellCommandline

Overrides Process::fromShellCommandline

File

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

Class

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

Namespace

Symfony\Component\Process

Code

public static function fromShellCommandline(string $command, ?string $cwd = null, ?array $env = null, mixed $input = null, ?float $timeout = 60) : static {
    throw new LogicException(\sprintf('The "%s()" method cannot be called when using "%s".', __METHOD__, self::class));
}

API Navigation

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