parameters: (self, line, here_doc=None)
docstring: Execute single oshell command and return (out_str, err_str)
              here_doc contains optional input string.
docstring_summary: Execute single oshell command and return (out_str, err_str)
              here_doc contains optional input string.
docstring_tokens: Execute single oshell command and return ( out_str err_str ) here_doc contains optional input string .
function: def execute(self, line, here_doc=None):
          """ Execute single oshell command and return (out_str, err_str)
              here_doc contains optional input string.
          """
          out_str, err_str = "", ""
          try:
              out_str, err_str = self.parse(line, batch=True, here_doc=here_doc)
              return self.exec_feedlines(out_str, err_str)
          except Exception:
              return (out_str, err_str+format_traceback())
function_tokens: def execute ( self , line , here_doc = None ) : out_str , err_str = "" , "" try : out_str , err_str = self . parse ( line , batch = True , here_doc = here_doc ) return self . exec_feedlines ( out_str , err_str ) except Exception : return ( out_str , err_str + format_traceback ( ) )