[python-win32] win32process.CreateProcess alternative that takes an array

Mark Hammond mhammond@skippinet.com.au
Tue, 8 Apr 2003 09:20:37 +1000


I've nothing to add to Paul's exellent answer - at the end of the day,
someone has to call CreateProcess[Ex](), as that is the only Windows API
call to do it.

> in quotes. I think this works because the argument is passed to cmd for
> execution..

I don't think that is true.  Python's os.popen() explicitly uses COMSPEC so
that some vague shell semantics are maintained, but CreateProcess is the
raw, low-level API that creates exactly what you ask.

Mark.