I'm writing a Python program on Windows 7. I want the program to patiently wait for a process to be started that has a certain name, and then do an action after it was started.
I can easily write the program using polling, i.e. checking every second whether the process is active, but I want to be more efficient and wait on the system event that is generated when a process is started. Is that possible? I was told that the `wmi` module is the way to go, but does anyone know how to make it do what I described above? Thanks, Ram.
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32