]> granicus.if.org Git - python/commit
Fix bugs:
authorMark Hammond <mhammond@skippinet.com.au>
Wed, 3 Apr 2002 01:47:00 +0000 (01:47 +0000)
committerMark Hammond <mhammond@skippinet.com.au>
Wed, 3 Apr 2002 01:47:00 +0000 (01:47 +0000)
commite7fefbf68dc3384b835d38bd8897657d7289f826
treef147bacdfadf2f42b756d3962515b13225f3d27a
parentb0aaec5706237c1086afbbbb9327be59509a6d83
Fix bugs:
 457466: popenx() argument mangling hangs python
 226766: popen('python -c"...."') tends to hang

Fixes argument quoting in w9xpopen.exe for Windows 9x.  w9xpopen.exe
also never attempts to display a MessageBox when not executed
interactively.

Added test_popen() test.  This test currently just executes
"python -c ..." as a child process, and checks that the expected
arguments were all recieved correctly by the child process.  This
test succeeds for me on Win9x, win2k and Linux, and I hope it does
for other popen supported platforms too :)
Lib/test/output/test_popen [new file with mode: 0644]
Lib/test/test_popen.py [new file with mode: 0644]
Modules/posixmodule.c
PC/w9xpopen.c