[Python-Dev] The os module, unix and win32

Trent Mick trentm at ActiveState.com
Thu Jan 8 21:20:34 EST 2004


[Guido van Rossum wrote]
> How many APIs would have to be copied from win32all to enable
> implementing popen5 in Python?

I am sorry that I am not keeping up with this right now, but my
process.py uses the following:

['win32gui.PostMessage',
 'win32process.CREATE_NEW_CONSOLE',
 'win32pipe.CreatePipe',
 'win32event.WAIT_FAILED',
 'win32process.TerminateProcess',
 'win32process.STARTF_USESTDHANDLES',
 'win32file.CloseHandle',
 'win32process.STARTF_USESHOWWINDOW',
 'win32event.INFINITE',
 'win32event.WAIT_TIMEOUT',
 'win32process.CREATE_NEW_PROCESS_GROUP',
 'win32api.GenerateConsoleCtrlEvent',
 'win32api.GetModuleFileName',
 'win32process.GetWindowThreadProcessId',
 'win32process.CreateProcess',
 'win32api.DuplicateHandle',
 'wintypes.SECURITY_ATTRIBUTES',
 'win32api.CloseHandle',
 'win32api.GetCurrentProcess',
 'win32process.GetExitCodeProcess',
 'win32file.WriteFile',
 'win32process.CREATE_',
 'win32event.WaitForSingleObject',
 'win32file.ReadFile',
 'wintypes.error',
 'win32api.Sleep',
 'win32api.GetVersionEx',
 'win32api.error',
 'win32api.GetVersion',
 'win32process.STARTUPINFO',
 'win32gui.EnumWindows']
31


Trent

-- 
Trent Mick
TrentM at ActiveState.com



More information about the Python-Dev mailing list