From: Zac Medico Date: Sun, 20 Feb 2011 09:42:14 +0000 (-0800) Subject: SubProcess: notify exit listeners in _poll X-Git-Tag: v2.1.9.41~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=21c8111c6a85910bda692b3bc96f9a9e48f3554b;p=portage.git SubProcess: notify exit listeners in _poll --- 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):