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 -- http://mail.python.org/mailman/listinfo/python-list