At Tuesday 2/5/2006 16:50, Gerrat Rickert wrote:
>Im logged in as an administrator on my computer
>(actually a domain admin) and I cant seem to
>get the killProcName.py program (that came with
>Mark Hammonds python extensions) to kill ANY
>process owned by SYSTEM (Ive tried a few eg.
…well, I couldn’t get a pure _vbscript_ program to
kill these processes either, but I did find a utility that comes with winXP:
taskkill; so this works like a charm:
import os
name = ‘Apache.exe’
os.system('taskkill /F /IM %s /T' % name)
I’m logged in as an administrator on my computer (actually
a domain admin) and I can’t seem to get the killProcName.py program (that
came with Mark Hammond’s python extensions) to kill ANY process owned by ‘SYSTEM’
(I’ve tried a few – eg. ‘iPodService’, ‘Apache’)
I can open the windows