From 21c8111c6a85910bda692b3bc96f9a9e48f3554b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 20 Feb 2011 01:42:14 -0800 Subject: [PATCH] SubProcess: notify exit listeners in _poll --- pym/_emerge/SubProcess.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pym/_emerge/SubProcess.py b/pym/_emerge/SubProcess.py index b2b19d54d..ef1346a63 100644 --- a/pym/_emerge/SubProcess.py +++ b/pym/_emerge/SubProcess.py @@ -38,6 +38,7 @@ class SubProcess(AbstractPollTask): if retval[0] == 0: return None self._set_returncode(retval) + self.wait() return self.returncode def cancel(self): -- 2.26.2