def __init__(self, parent, process = None, silent = None, tty = True): self.parent = parent self._tty = tty self._channel = None self.exit_status = None if silent == None: silent = parent.silent basechatter.__init__(self, self.parent.timeout, silent) self._connect(process)
def __init__(self, parent, process=None, silent=None, tty=True): self.parent = parent self._tty = tty self._channel = None self.exit_status = None if silent == None: silent = parent.silent basechatter.__init__(self, self.parent.timeout, silent) self._connect(process)
def __init__(self, cmd, *args, **kwargs): env = kwargs.get('env', {}) timeout = kwargs.get('timeout', 'default') silent = kwargs.get('silent', False) basechatter.__init__(self, timeout, silent) self.proc = None self.stdout = None self.start(cmd, args, env)
def __init__(self, cmd, *args, **kwargs): timeout = kwargs.get('timeout', 'default') env = kwargs.get('env', {}) basechatter.__init__(self, timeout) self.proc = None self.stdout = None self.start(cmd, args, env)
def __init__(self, timeout='default', silent=False): basechatter.__init__(self, timeout, silent) self.current_timeout = None
def __init__(self, timeout = 'default', silent = False): basechatter.__init__(self, timeout, silent) self.current_timeout = None
def __init__(self, timeout = 'default'): basechatter.__init__(self, timeout) self.current_timeout = None
def __init__(self, timeout='default'): basechatter.__init__(self, timeout) self.current_timeout = None