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

Reply via email to