Re: [python-win32] about wmi exception

2008-07-16 Thread Tim Golden
Patrol Sun wrote: 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. You can specify it, but I don't believe you can get anything finer than 1 second. But even if you're running the watche

Re: [python-win32] about wmi exception

2008-07-16 Thread Patrol Sun
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 >> followi

Re: [python-win32] about wmi exception

2008-07-15 Thread Tim Golden
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

Re: [python-win32] about wmi exception

2008-07-14 Thread Tim Roberts
Patrol Sun wrote: I want to prevent some process from running. The code is in the following. I encounter some unexpected troubles. Probelm1: This program cannot terminate "scrcons.exe" and "FNPLicensingService.exe",which are system processes. If you kill FNPLicensingService, you will not be ab

[python-win32] about wmi exception

2008-07-14 Thread Patrol Sun
I want to prevent some process from running. The code is in the following. I encounter some unexpected troubles. Probelm1: This program cannot terminate "scrcons.exe" and "FNPLicensingService.exe",which are system processes. Problem2:After a while, this program will abort by error File "C:\Pytho