[python-win32] killProcName kinda slow

Tim Roberts timr at probo.com
Wed Oct 18 20:56:19 CEST 2006


Axiom X11 wrote:

>I am trying to use the killProcName function in a project, and it does
>work, but it is kinda slow.
>
>Just running it alone has the same effect
>
>C:\>killProcName.py notepad
>(wait for about 30 seconds)
>Killed notepad
>
>Is there any way to do this faster?  Or is there another function I
>should be calling?
>

How many processes do you have?  Is this on XP?  It takes about 6
seconds for me on my Athlon64X2 3800+, with 53 processes running.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-win32 mailing list