original_string: public function start()
      {
          $cmd = 'app/console ' . $this->workerCommand;
          if ($this->tube != '') {
              $cmd .= ' --use-tube=' . escapeshellarg($this->tube);
          }
          if ($this->parent->isVerbose()) {
              $cmd .= ' -vvvv';
          }
          $this->startTime = time();
          $this->parent->verboseOutput('<info>Starting:</info>' . $cmd);
          $this->process = new Process('exec ' . $cmd, $this->consolePath, null, null, null);
          $this->process->start();
          if ($this->process->isRunning()) {
              $this->status = ChildProcessContainer::STATUS_ALIVE;
          } else {
              $this->status = ChildProcessContainer::STATUS_DEAD;
          }
      }
code: public function start()
      {
          $cmd = 'app/console ' . $this->workerCommand;
          if ($this->tube != '') {
              $cmd .= ' --use-tube=' . escapeshellarg($this->tube);
          }
          if ($this->parent->isVerbose()) {
              $cmd .= ' -vvvv';
          }
          $this->startTime = time();
          $this->parent->verboseOutput('<info>Starting:</info>' . $cmd);
          $this->process = new Process('exec ' . $cmd, $this->consolePath, null, null, null);
          $this->process->start();
          if ($this->process->isRunning()) {
              $this->status = ChildProcessContainer::STATUS_ALIVE;
          } else {
              $this->status = ChildProcessContainer::STATUS_DEAD;
          }
      }
code_tokens: public function start ( ) { $ cmd = 'app/console ' . $ this -> workerCommand ; if ( $ this -> tube != '' ) { $ cmd .= ' --use-tube=' . escapeshellarg ( $ this -> tube ) ; } if ( $ this -> parent -> isVerbose ( ) ) { $ cmd .= ' -vvvv' ; } $ this -> startTime = time ( ) ; $ this -> parent -> verboseOutput ( '<info>Starting:</info>' . $ cmd ) ; $ this -> process = new Process ( 'exec ' . $ cmd , $ this -> consolePath , null , null , null ) ; $ this -> process -> start ( ) ; if ( $ this -> process -> isRunning ( ) ) { $ this -> status = ChildProcessContainer :: STATUS_ALIVE ; } else { $ this -> status = ChildProcessContainer :: STATUS_DEAD ; } }
docstring: Starts the child process
  
  @return void
docstring_tokens: Starts the child process