Ram Rachum wrote:
>
> 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?

Is this a process you are starting?  If YOU start the process, you get a
handle that you can wait on

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to