578 |
578 |
579 self.shutdownCalled = False |
579 self.shutdownCalled = False |
580 self.inCloseEevent = False |
580 self.inCloseEevent = False |
581 |
581 |
582 # now redirect stdout and stderr |
582 # now redirect stdout and stderr |
583 # TODO: release - reenable redirection |
583 sys.stdout = self.stdout |
584 ## sys.stdout = self.stdout |
584 sys.stderr = self.stderr |
585 ## sys.stderr = self.stderr |
|
586 |
585 |
587 # now fire up the single application server |
586 # now fire up the single application server |
588 if Preferences.getUI("SingleApplicationMode"): |
587 if Preferences.getUI("SingleApplicationMode"): |
589 splash.showMessage(self.trUtf8("Initializing Single Application Server...")) |
588 splash.showMessage(self.trUtf8("Initializing Single Application Server...")) |
590 self.SAServer = E5SingleApplicationServer() |
589 self.SAServer = E5SingleApplicationServer() |