original_string: private function createProcess()
      {
          $descriptorSpec = [
              ['pipe', 'r'], // stdin
              ['pipe', 'w'], // stdout
              ['pipe', 'r']  // stderr
          ];
  
          $this->process = proc_open($this->cmd, $descriptorSpec, $this->pipes, $this->cwd);
  
          if (!is_resource($this->process)) {
              throw new \RuntimeException('Could not create the process.');
          }
      }
code: private function createProcess()
      {
          $descriptorSpec = [
              ['pipe', 'r'], // stdin
              ['pipe', 'w'], // stdout
              ['pipe', 'r']  // stderr
          ];
  
          $this->process = proc_open($this->cmd, $descriptorSpec, $this->pipes, $this->cwd);
  
          if (!is_resource($this->process)) {
              throw new \RuntimeException('Could not create the process.');
          }
      }
code_tokens: private function createProcess ( ) { $ descriptorSpec = [ [ 'pipe' , 'r' ] , // stdin [ 'pipe' , 'w' ] , // stdout [ 'pipe' , 'r' ] // stderr ] ; $ this -> process = proc_open ( $ this -> cmd , $ descriptorSpec , $ this -> pipes , $ this -> cwd ) ; if ( ! is_resource ( $ this -> process ) ) { throw new \ RuntimeException ( 'Could not create the process.' ) ; } }
docstring: Create the process.
  
  @return null
  @throws \RuntimeException If the process can not be created.
docstring_tokens: Create the process .