From 888d3ffc2a29c590fbecf7aa7f986c83840c2716 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 14 Jul 2013 09:36:36 +0200 Subject: [PATCH] wait before reading, to make sure we get it all --- morituri/common/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/morituri/common/common.py b/morituri/common/common.py index 6608b7d..0af7186 100644 --- a/morituri/common/common.py +++ b/morituri/common/common.py @@ -319,6 +319,7 @@ class VersionGetter(object): p = asyncsub.Popen(self._args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True) + p.wait() output = asyncsub.recv_some(p, e=0, stderr=1) vre = self._regexp.search(output) if vre: