summaryrefslogtreecommitdiff
path: root/src/frontend/gui/sisyphus-gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/gui/sisyphus-gui.py')
-rwxr-xr-xsrc/frontend/gui/sisyphus-gui.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index 406ea7a..0f290c8 100755
--- a/src/frontend/gui/sisyphus-gui.py
+++ b/src/frontend/gui/sisyphus-gui.py
@@ -377,6 +377,7 @@ class MainWorker(QtCore.QObject):
atexit.register(portageKill, portageExec)
for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"):
self.strReady.emit(portageOutput.rstrip())
+ portageExec.wait()
syncLocalDatabase()
self.finished.emit()
@@ -389,6 +390,7 @@ class MainWorker(QtCore.QObject):
atexit.register(portageKill, portageExec)
for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"):
self.strReady.emit(portageOutput.rstrip())
+ portageExec.wait()
syncLocalDatabase()
self.finished.emit()
@@ -400,6 +402,7 @@ class MainWorker(QtCore.QObject):
atexit.register(portageKill, portageExec)
for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"):
self.strReady.emit(portageOutput.rstrip())
+ portageExec.wait()
syncLocalDatabase()
self.finished.emit()
@@ -411,6 +414,7 @@ class MainWorker(QtCore.QObject):
atexit.register(portageKill, portageExec)
for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"):
self.strReady.emit(portageOutput.rstrip())
+ portageExec.wait()
syncLocalDatabase()
self.finished.emit()