author | Frank Wierzbicki <fwierzbicki@gmail.com> |
Wed, 18 Feb 2009 13:19:30 +0100 | |
changeset 7792 | cf427b04d5c0 |
parent 7791 | 089cb73f8ecc |
child 7793 | 9915283e8ae2 |
--- a/tests/run-tests.py Tue Feb 17 18:47:28 2009 -0500 +++ b/tests/run-tests.py Wed Feb 18 13:19:30 2009 +0100 @@ -273,7 +273,7 @@ """Run command in a sub-process, capturing the output (stdout and stderr). Return the exist code, and output.""" # TODO: Use subprocess.Popen if we're running on Python 2.4 - if os.name == 'nt': + if os.name == 'nt' or sys.platform.startswith('java'): tochild, fromchild = os.popen4(cmd) tochild.close() output = fromchild.read()