(self, line, here_doc=None)
Execute single oshell command and return (out_str, err_str)
            here_doc contains optional input string.
Execute single oshell command and return (out_str, err_str)
            here_doc contains optional input string.
Execute single oshell command and return ( out_str err_str ) here_doc contains optional input string .
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())
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 ( ) )