def __init__(self, command): global rr if rr: GPS.Consle().write("On one replay at a time is allowed.\n") self.debugger = None self.output = "" GPS.Console.__init__(self, command[0], on_input=Console_Process.on_input, on_destroy=Console_Process.on_destroy, force=False) self.clear() GPS.Process.__init__(self, command, r"^.+$", on_exit=Console_Process.on_exit, on_match=Console_Process.on_output) rr = self enable_menues(True)