I wish to monitor wondows "Task manager" and wait for a certain process to start.
after it starts I want to wait for it's end.
when the process ends I want to launch a script and return to the wait position again.
I want the perl script to run in the background all the time and consume as less CPU as it can.
P.S.