Thursday, 19 September 2013

How to set a timeout using perl (to kill hung child program)

How to set a timeout using perl (to kill hung child program)

I am on Windows running a Perl script that calls an .exe program. I want
to kill the .exe program if it takes longer than 10 minutes and then
resume the perl script from the point after the call. Is there an easy way
to do this? Thanks!

No comments:

Post a Comment