original_string: protected function createProcess($interactive = false)
      {
          $process = new Process($this->container->resolve('SHELL'), null, null, null, null, []);
  
          if ($interactive) {
              $process->setTty(true);
          } else {
              if ($this->container->has('TIMEOUT') && $timeout = $this->container->get('TIMEOUT')) {
                  $process->setTimeout($this->container->get('TIMEOUT'));
              }
          }
  
          return $process;
      }
code: protected function createProcess($interactive = false)
      {
          $process = new Process($this->container->resolve('SHELL'), null, null, null, null, []);
  
          if ($interactive) {
              $process->setTty(true);
          } else {
              if ($this->container->has('TIMEOUT') && $timeout = $this->container->get('TIMEOUT')) {
                  $process->setTimeout($this->container->get('TIMEOUT'));
              }
          }
  
          return $process;
      }
code_tokens: protected function createProcess ( $ interactive = false ) { $ process = new Process ( $ this -> container -> resolve ( 'SHELL' ) , null , null , null , null , [ ] ) ; if ( $ interactive ) { $ process -> setTty ( true ) ; } else { if ( $ this -> container -> has ( 'TIMEOUT' ) && $ timeout = $ this -> container -> get ( 'TIMEOUT' ) ) { $ process -> setTimeout ( $ this -> container -> get ( 'TIMEOUT' ) ) ; } } return $ process ; }
docstring: Create the process instance to use for non-interactive handling
  
  @var     bool $interactive
  @return \Symfony\Component\Process\Process
docstring_tokens: Create the process instance to use for non - interactive handling