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. ‘

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

2006-05-02 Thread Gerrat Rickert
…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)      

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

2006-05-02 Thread Gerrat Rickert
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