Show More
@@ -273,7 +273,7 b' def run(cmd):' | |||
|
273 | 273 | """Run command in a sub-process, capturing the output (stdout and stderr). |
|
274 | 274 | Return the exist code, and output.""" |
|
275 | 275 | # TODO: Use subprocess.Popen if we're running on Python 2.4 |
|
276 | if os.name == 'nt': | |
|
276 | if os.name == 'nt' or sys.platform.startswith('java'): | |
|
277 | 277 | tochild, fromchild = os.popen4(cmd) |
|
278 | 278 | tochild.close() |
|
279 | 279 | output = fromchild.read() |
General Comments 0
You need to be logged in to leave comments.
Login now