[python-win32] killProcName.py not working for processes under user SYSTEM

2006-05-02 Thread Gerrat Rickert
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. iPodService, Apache) I can open the windows task

Re: [python-win32] killProcName.py not working for processes under user SYSTEM

2006-05-02 Thread Gerrat Rickert
well, I couldnt 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)

Re: [python-win32] killProcName.py not working for processes under user SYSTEM

2006-05-02 Thread Gabriel Genellina
At Tuesday 2/5/2006 16:50, Gerrat Rickert wrote: 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.