506 |
506 |
507 self.shutdownCalled = False |
507 self.shutdownCalled = False |
508 self.inCloseEevent = False |
508 self.inCloseEevent = False |
509 |
509 |
510 # now redirect stdout and stderr |
510 # now redirect stdout and stderr |
511 # TODO: release - reenable redirection |
511 sys.stdout = self.stdout |
512 ## sys.stdout = self.stdout |
512 sys.stderr = self.stderr |
513 ## sys.stderr = self.stderr |
|
514 |
513 |
515 # now fire up the single application server |
514 # now fire up the single application server |
516 if Preferences.getUI("SingleApplicationMode"): |
515 if Preferences.getUI("SingleApplicationMode"): |
517 splash.showMessage(self.trUtf8("Initializing Single Application Server...")) |
516 splash.showMessage(self.trUtf8("Initializing Single Application Server...")) |
518 self.SAServer = E5SingleApplicationServer() |
517 self.SAServer = E5SingleApplicationServer() |