Issue with subprocess Module

Tim Golden mail at timgolden.me.uk
Tue Apr 7 15:35:24 EDT 2009


Tim Golden wrote:
> So it looks as though the MS docs are simply wrong? I haven't
> tried it with ctypes or a native C program, but I can't
> see that they should be any different. If I get a chance
> later I'll knock something up in C.


OK, copying the standard MS example for creating a process:

http://msdn.microsoft.com/en-us/library/ms682512(VS.85).aspx

and changing only enough to substitute "c:/temp/t.bat"
for the argv[1], it runs perfectly well. Doesn't answer
the OP's question, but does suggest the docs are wrong.

TJG



More information about the Python-list mailing list