(self, cmd, input_text=None, timeout=None, echo=True, loud=False, fatal=True, ignore_lines=None, primary=False)
return Command(cmd, self, input_text=input_text, timeout=timeout, echo=echo, loud=loud, fatal=fatal, ignore_lines=ignore_lines, primary=primary)
A convenience method that returns an un-executed command object from any provider, this should be used for executing ALL shell commands in OpsMop.
A convenience method that returns an un-executed command object from any provider, this should be used for executing ALL shell commands in OpsMop.
A convenience method that returns an un - executed command object from any provider this should be used for executing ALL shell commands in OpsMop .
def get_command(self, cmd, input_text=None, timeout=None, echo=True, loud=False, fatal=True, ignore_lines=None, primary=False):
        """
        A convenience method that returns an un-executed command object from any provider, this should be used for executing ALL shell commands in OpsMop.
        """
        if self.ignore_errors:
            fatal = False
        if timeout is None:
            timeout = self.get_default_timeout()
        return Command(cmd, self, input_text=input_text, timeout=timeout, echo=echo, loud=loud, fatal=fatal, ignore_lines=ignore_lines, primary=primary)
def get_command ( self , cmd , input_text = None , timeout = None , echo = True , loud = False , fatal = True , ignore_lines = None , primary = False ) : if self . ignore_errors : fatal = False if timeout is None : timeout = self . get_default_timeout ( ) return Command ( cmd , self , input_text = input_text , timeout = timeout , echo = echo , loud = loud , fatal = fatal , ignore_lines = ignore_lines , primary = primary )