original_string: protected function runShell(Shell $shell, array $argv)
      {
          try {
              $shell->initialize();
  
              return $shell->runCommand($argv, true);
          } catch (StopException $e) {
              return $e->getCode();
          }
      }
code: protected function runShell(Shell $shell, array $argv)
      {
          try {
              $shell->initialize();
  
              return $shell->runCommand($argv, true);
          } catch (StopException $e) {
              return $e->getCode();
          }
      }
code_tokens: protected function runShell ( Shell $ shell , array $ argv ) { try { $ shell -> initialize ( ) ; return $ shell -> runCommand ( $ argv , true ) ; } catch ( StopException $ e ) { return $ e -> getCode ( ) ; } }
docstring: Execute a Shell class.
  
  @param \Cake\Console\Shell $shell The shell to run.
  @param array $argv The CLI arguments to invoke.
  @return int Exit code
docstring_tokens: Execute a Shell class .