When I tackled this problem for a program of mine, I ended up making sure that I always used the "short filename" form for the program to be executed. This way, there were no spaces in the filename and no need to quote them. However, the function I used to do this comes from win32<something>, so test_popen can't use it. Nor can Python fix this up for all users of os.popen() Jeff