Harlin Seritt wrote:
I think I need something besides TerminateProcess(). Is there anyway
possible to terminate a process by just passing a string value to the
function? Honestly, I am not interesting in terminating a process by
its handle.

This is a bizarre request. Why can't you just call int() as you did in your example to turn the string into a number? And if you can do that, why would you have a problem using the *defined mechanism* to convert from a PID to a handle, which is what the Windows API routine to kill processes requires?


-Peter
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to