in reply to Detecting hung conditions in win32

I'd suggest looking at Win32::Process::Info. Start the process and use W::P::I to monitor it's process utilisation . If it fails to change over a period of a few seconds, it is either waiting for input or is hung. Your program logic should allow you to distinguish the difference.

See Re: Win32: Multiple processes with the same name and Re^3: Win32: Multiple processes with the same name for some sample code.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.