[python-win32] Getting PID of process launched by Dispatch
Cedric Delfosse
cedric.delfosse at linbox.com
Mon Apr 5 12:12:13 EDT 2004
Hello,
I use automation to convert Word documents to other formats.
Sometimes, Word has problems with some corrupted documents, and loops
until I kill it.
I'd like to kill it automatically from my program, but I need to get the
Word Process ID first. I launch Word the traditional way you all know:
app = win32com.client.DispatchEx('Word.Application')
Now is it possible to get winword.exe PID from the "app" variable ?
Regards,
--
Cédric Delfosse Linbox / Free&ALter Soft
152, rue de Grigy - Technopole Metz 57070 Metz - FRANCE
tél: +33 (0)3 87 50 87 90 http://linbox.com
More information about the Python-win32
mailing list