def run(self, fast_exit=True): try: GApplication.run(self) except (KeyboardInterrupt, SystemExit): pass except: traceback.print_exc() # A py2app bundled application seems to crash on exit if we don't # bail out really quickly here (Python 2.3, PyObjC 1.3.7, py2app 0.2.1, # MacOSX 10.4.4) if fast_exit: os._exit(0)
def run(self, fast_exit = True): try: GApplication.run(self) except (KeyboardInterrupt, SystemExit): pass except: traceback.print_exc() # A py2app bundled application seems to crash on exit if we don't # bail out really quickly here (Python 2.3, PyObjC 1.3.7, py2app 0.2.1, # MacOSX 10.4.4) if fast_exit: os._exit(0)
def run(self): GApplication.run(self)