joep wrote: > On Mar 15, 5:42 pm, joep <[EMAIL PROTECTED]> wrote: >>> http://timgolden.me.uk/python/win32_how_do_i/run-a-command-with-a-spa... >> Note: this works for subprocess.call but for subprocess.Popen this >> does not work if there are two arguments in the command line with >> spaces. Especially, even after trying out many different versions, I >> never managed to get subprocess.Popen to work, when both the >> executable and one argument have spaces in the file path. >> > > Sorry, incomplete sentence > > Especially, even after trying out many different versions, I never > managed to get subprocess.Popen to work '''when command line is given > as a *list* argument to subprocess.Popen''' > in the case when both the executable and one argument have spaces in > the file path.
Thanks for the info. I'll get on the case and put some examples together with caveats. TJG -- http://mail.python.org/mailman/listinfo/python-list