summaryrefslogtreecommitdiff
path: root/src/backend/libsisyphus.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-17 10:45:50 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-17 10:45:50 +0100
commit4fa81a14d7e657e3976c26c64748b5963a55c56d (patch)
treeaf29b10c401a2fe0898fb0e8a78c518a3b473cbc /src/backend/libsisyphus.py
parent7807654f455ed2c2dda7337405d76ba305055f7d (diff)
make sure we leave no zombie alive
Diffstat (limited to 'src/backend/libsisyphus.py')
-rwxr-xr-xsrc/backend/libsisyphus.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py
index ac7d7b2..1d05b8c 100755
--- a/src/backend/libsisyphus.py
+++ b/src/backend/libsisyphus.py
@@ -192,28 +192,28 @@ def rescueDB():
def startInstall(pkgList):
syncAll()
portageExec = subprocess.Popen(['emerge', '-aq'] + pkgList)
- portageExec.communicate()
+ portageExec.wait()
syncLocalDatabase()
# call portage to uninstall the package(s) (CLI frontend)
def startUninstall(pkgList):
portageExec = subprocess.Popen(['emerge', '--depclean', '-aq'] + pkgList)
- portageExec.communicate()
+ portageExec.wait()
syncLocalDatabase()
# call portage to force-uninstall the package(s) (CLI frontend)
def startUninstallForce(pkgList):
portageExec = subprocess.Popen(['emerge', '--unmerge', '-aq'] + pkgList)
- portageExec.communicate()
+ portageExec.wait()
syncLocalDatabase()
# call portage to remove orphan package(s) (CLI frontend)
def removeOrphans():
portageExec = subprocess.Popen(['emerge', '--depclean', '-aq'])
- portageExec.communicate()
+ portageExec.wait()
syncLocalDatabase()
# call portage to perform a system upgrade (CLI frontend)
@@ -221,7 +221,7 @@ def removeOrphans():
def startUpgrade():
syncAll()
portageExec = subprocess.Popen(['emerge', '-uDaNq', '--backtrack=100', '--with-bdeps=y', '@world'])
- portageExec.communicate()
+ portageExec.wait()
syncLocalDatabase()
# call portage to search for package(s) (CLI frontend)