def __init__ (self, mode, host, user, store, command, arguments) : SshProcess.__init__ (self, mode, host, user, database.settings.select (('python', 'executable', 'path')) .value, [ os.path.join (store, 'sources', 'remote_shell.py'), store, command] + arguments)
def __init__ (self, host, user, store) : SshProcess.__init__ (self, ProcessModes.PipedText, host, user, database.settings.select (('python', 'executable', 'path')) .value, [ os.path.join (store, 'sources', 'remote_shell.py'), store, 'backend-loop'])