changeset 15781:8b9e7f235d85

mx: fixed spurious "error while killing subprocess" messages (GRAAL-350)
author Doug Simon <doug.simon@oracle.com>
date Tue, 20 May 2014 11:50:30 +0200
parents bdf260d8e163
children 99662e393b52
files mxtool/mx.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Mon May 19 17:21:30 2014 -0700
+++ b/mxtool/mx.py	Tue May 20 11:50:30 2014 +0200
@@ -2302,6 +2302,8 @@
                     break
 
             def executeTask(task):
+                # Clear sub-process list cloned from parent process
+                del _currentSubprocesses[:]
                 task.execute()
 
             def depsDone(task):