Thanks. Can you tell me how long the polling period of the process creation
is? So I can use the sleep and poll instead of the process creation
monitoring.

2008/7/16 Tim Golden <[EMAIL PROTECTED]>:

> Patrol Sun wrote:
>
>> I want to prevent some process from running. The code is in the
>> following.
>>
>
> As an additional datum, the WMI event management code
> (at least for process creation) works by polling, not
> by receiving events from the underlying O/S. That
> means that it's possible to miss a creation event.
> If you want to be certain to close down certain processes,
> you'll need roll-your-own polling and look for the existence
> of a process, not its creation.
>
> TJG
>
> _______________________________________________
> python-win32 mailing list
> python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to