[Python-Dev] The os module, unix and win32 (original) (raw)

Peter Astrand astrand at lysator.liu.se
Thu Jan 8 17:31:53 EST 2004


> win32all covers a huge number of API functions, more then would > be sane to add to os. But would there be any mileage in added > enough from win32all to allow problems like popen5 to be > implemented? > > There is already the reg module that has some win32 functions in > it on the standard install.

(Not sure if this was in response to my "let's do it in Python" post.) How many APIs would have to be copied from win32all to enable implementing popen5 in Python?

I'm not sure since I haven't implemented much yet, but we'll need at least:

win32.CreatePipe win32api.DuplicateHandle win32api.GetCurrentProcess win32process.CreateProcess win32process.STARTUPINFO win32gui.EnumThreadWindows win32event.WaitForSingleObject win32process.TerminateProcess

-- /Peter Åstrand <astrand at lysator.liu.se>



More information about the Python-Dev mailing list