original_string: protected function updateStatus($blocking)
      {
          if (self::STATUS_STARTED !== $this->status) {
              return;
          }
  
          $this->processInformation = proc_get_status($this->process);
          $running = $this->processInformation['running'];
  
          $this->readPipes($running && $blocking, '\\' !== \DIRECTORY_SEPARATOR || !$running);
  
          if ($this->fallbackStatus && $this->isSigchildEnabled()) {
              $this->processInformation = $this->fallbackStatus + $this->processInformation;
          }
  
          if (!$running) {
              $this->close();
          }
      }
code: protected function updateStatus($blocking)
      {
          if (self::STATUS_STARTED !== $this->status) {
              return;
          }
  
          $this->processInformation = proc_get_status($this->process);
          $running = $this->processInformation['running'];
  
          $this->readPipes($running && $blocking, '\\' !== \DIRECTORY_SEPARATOR || !$running);
  
          if ($this->fallbackStatus && $this->isSigchildEnabled()) {
              $this->processInformation = $this->fallbackStatus + $this->processInformation;
          }
  
          if (!$running) {
              $this->close();
          }
      }
code_tokens: protected function updateStatus ( $ blocking ) { if ( self :: STATUS_STARTED !== $ this -> status ) { return ; } $ this -> processInformation = proc_get_status ( $ this -> process ) ; $ running = $ this -> processInformation [ 'running' ] ; $ this -> readPipes ( $ running && $ blocking , '\\' !== \ DIRECTORY_SEPARATOR || ! $ running ) ; if ( $ this -> fallbackStatus && $ this -> isSigchildEnabled ( ) ) { $ this -> processInformation = $ this -> fallbackStatus + $ this -> processInformation ; } if ( ! $ running ) { $ this -> close ( ) ; } }
docstring: Updates the status of the process, reads pipes.
  
  @param bool $blocking Whether to use a blocking read call
docstring_tokens: Updates the status of the process reads pipes .