[Python-checkins] CVS: python/dist/src/Lib/test/output test_popen,NONE,1.1

Mark Hammond mhammond@users.sourceforge.net
Tue, 02 Apr 2002 17:47:02 -0800


Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory usw-pr-cvs1:/tmp/cvs-serv27599/Lib/test/output

Added Files:
	test_popen 
Log Message:
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 :)


--- NEW FILE: test_popen ---
test_popen
Test popen:
popen seemed to process the command-line correctly