parameters: (self)
docstring: Start BattOr binary shell.
docstring_summary: Start BattOr binary shell.
docstring_tokens: Start BattOr binary shell .
function: def StartShell(self):
      """Start BattOr binary shell."""
      assert not self._battor_shell, 'Attempting to start running BattOr shell.'
      battor_cmd = [self._battor_agent_binary]
      if self._battor_path:
        battor_cmd.append('--battor-path=%s' % self._battor_path)
      self._battor_shell = self._StartShellImpl(battor_cmd)
      assert self.IsShellRunning(), 'Shell did not start properly.'
function_tokens: def StartShell ( self ) : assert not self . _battor_shell , 'Attempting to start running BattOr shell.' battor_cmd = [ self . _battor_agent_binary ] if self . _battor_path : battor_cmd . append ( '--battor-path=%s' % self . _battor_path ) self . _battor_shell = self . _StartShellImpl ( battor_cmd ) assert self . IsShellRunning ( ) , 'Shell did not start properly.'