[python-win32] How to get PID from a Proces Handle ?

Scott Hogsten scotthogsten at yahoo.com
Wed Oct 11 03:11:27 CEST 2006


I have some code that spawns processes using the "spawnv" command this returns a process handle.
Can I use the process handle to retrieve the actual PID of the process ? This is part of a test harness
and I need to be able have the actual PID to use against some output. 

Thanks

Scott Hogsten




More information about the Python-win32 mailing list