>>> import win32process
>>> win32process.CreateProcess('c:\\windows\\notepad.exe','',None,None,0,win32process.CREATE_NO_WINDOW,None,None,win32process.STARTUPINFO())
(<PyHANDLE:736>, <PyHANDLE:884>, 2944, 3260)
>>> handle=win32process.CreateProcess('c:\\windows\\notepad.exe','',None,None,0,win32process.CREATE_NO_WINDOW,None,None,win32process.STARTUPINFO())
>>> win32process.TerminateProcess(handle[0],0)
>>> import win32event
>>> handle=win32process.CreateProcess('c:\\windows\\notepad.exe','',None,None,0,win32process.CREATE_NO_WINDOW,None,None,win32process.STARTUPINFO());
>>> win32event.WaitForSingleObject(handle[0],-1)
0
>>>