I have a perl script on Windows that automates Sorensen Squeeze, an encoding program. It calls Squeeze via the command line, Squeeze encodes the file, quits, and the perl script continues.
Occasionally I get a video that Squeeze cannot encode, which causes a prompt to come up saying "Unsupported file" with an OK button. Because its automated, it halts the script until someone manually goes on the server and hits the OK button.
Any ideas how I can detect this is happening so I can force the application to terminate so that my queued videos don't get delayed waiting on someone to press OK.