From 3d923a671850d88108e2ef48c217090d27ec0515 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Wed, 9 Jul 2014 19:22:39 +0200 Subject: [PATCH] Use p.wait() instead of p.communicate() The latter calls the former anyway, and we don't need to fetch the output nor send any stdin. --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 285ffe20..663af8b1 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -1681,7 +1681,7 @@ def FDroidPopen(commands, cwd=None, shell=False, output=True): time.sleep(0.1) - p.communicate() + p.wait() result.returncode = p.returncode return result -- 2.30.2