Thanks for the tip. This does seem rather overkill to introduce all these dependencies just to be able to kill a process though...
I've discovered that subprocess.Popen objects have a member "_handle" which is undocumented but appears to work, so I'm using that for now. Better suggestions gratefully received... Geoff > My way to do it is using excellent wmi module by Tim Golden, which > relies on Mark Hammond's pywin32 and Windows native wmi functionality. > Here is the link -http://tgolden.sc.sabren.com/python/wmi.html > Maybe, there is a more elegant way of doing that, but it works for me, > and i feel nice with wmi. -- http://mail.python.org/mailman/listinfo/python-list