Mercurial > hg > RemoteViewer
changeset 30:736551d4ad51
do not block the gui waiting for the process. Another viewer may be started from the same running app
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 07 Oct 2014 04:09:57 +0200 |
parents | 56b2e8f9846e |
children | 09bde9fd3dd9 |
files | RemoteViewer/Viewer.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/RemoteViewer/Viewer.py Fri Oct 03 04:25:56 2014 +0200 +++ b/RemoteViewer/Viewer.py Tue Oct 07 04:09:57 2014 +0200 @@ -34,7 +34,7 @@ self.process = subprocess.Popen(self.command, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) self.__startLogThread() - self.process.wait() + # do not wait for the process here to avoid blocking the GUI def __runPasswordDialog(self): if self.connection.promptForPassword: