diff mxtool/mx.py @ 4664:60a8f52c0be0

Fixed regression in mx.py
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 21 Feb 2012 19:35:51 +0100
parents b06ade6e927c
children e2de9649f0a9
line wrap: on
line diff
--- a/mxtool/mx.py	Tue Feb 21 19:33:18 2012 +0100
+++ b/mxtool/mx.py	Tue Feb 21 19:35:51 2012 +0100
@@ -603,7 +603,7 @@
             # The preexec_fn=os.setsid
             p = subprocess.Popen(args, cwd=cwd, preexec_fn=preexec_fn, creationflags=creationflags)
             _currentSubprocess = (p, args)
-	    waitOn(p)
+	    retcode = waitOn(p)
         else:
             def redirect(stream, f):
                 for line in iter(stream.readline, ''):