Mercurial > hg > graal-jvmci-8
diff mx.jvmci/mx_jvmci.py @ 22180:04ecedece09a
use the correct my.py when launching an mx subprocess
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 21 Jul 2015 14:25:29 +0200 |
parents | afc886bb27c7 |
children | ffdee9fe0ded |
line wrap: on
line diff
--- a/mx.jvmci/mx_jvmci.py Tue Jul 21 14:21:18 2015 +0200 +++ b/mx.jvmci/mx_jvmci.py Tue Jul 21 14:25:29 2015 +0200 @@ -1118,7 +1118,7 @@ mx.log('BEGIN: ' + v + '-' + vmbuild + '\t(see: ' + logFile + ')') verbose = ['-v'] if mx._opts.verbose else [] # Run as subprocess so that output can be directed to a file - cmd = [sys.executable, '-u', join('mxtool', 'mx.py')] + verbose + ['--vm', v, '--vmbuild', vmbuild, 'build'] + check_dists_args + cmd = [sys.executable, '-u', mx.__file__] + verbose + ['--vm', v, '--vmbuild', vmbuild, 'build'] + check_dists_args mx.logv("executing command: " + str(cmd)) subprocess.check_call(cmd, cwd=_suite.dir, stdout=log, stderr=subprocess.STDOUT) duration = datetime.timedelta(seconds=time.time() - start)