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

Breadcrumb

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

function Process::resetProcessData

Resets data related to the latest run of the process.

2 calls to Process::resetProcessData()
Process::start in vendor/symfony/process/Process.php
Starts the process and returns after writing the input to STDIN.
Process::__clone in vendor/symfony/process/Process.php

File

vendor/symfony/process/Process.php, line 1466

Class

Process
Process is a thin wrapper around proc_* functions to easily start independent PHP processes.

Namespace

Symfony\Component\Process

Code

private function resetProcessData() : void {
    $this->starttime = null;
    $this->callback = null;
    $this->exitcode = null;
    $this->fallbackStatus = [];
    $this->processInformation = [];
    $this->stdout = fopen('php://temp/maxmemory:' . 1024 * 1024, 'w+');
    $this->stderr = fopen('php://temp/maxmemory:' . 1024 * 1024, 'w+');
    $this->process = null;
    $this->latestSignal = null;
    $this->status = self::STATUS_READY;
    $this->incrementalOutputOffset = 0;
    $this->incrementalErrorOutputOffset = 0;
}
RSS feed
Powered by Drupal