parameters: (self, arg)
docstring: Execute a shell command
docstring_summary: Execute a shell command
docstring_tokens: Execute a shell command
function: def do_shell(self, arg):
          """Execute a shell command"""
          try:
              retcode = subprocess.call(arg, shell=True)
              del retcode
          except OSError, e:
              self.io.print_error("Execution failed: " + e.message)
          except KeyboardInterrupt:
              self.io.print_warning("Execution aborted by user: Ctrl-c")
function_tokens: def do_shell ( self , arg ) : try : retcode = subprocess . call ( arg , shell = True ) del retcode except OSError , e : self . io . print_error ( "Execution failed: " + e . message ) except KeyboardInterrupt : self . io . print_warning ( "Execution aborted by user: Ctrl-c" )