I have an external script that I run from my Perl script using system()
. I need a timeout mechanism, that will wait a given time on the execution of the script. If the script isn't finished (returned to my perl script) until this timeout passes, the perl script will be back in control and continue from the SAME SPOT
(display warning to screen and continue).
In any case failure/success in running the script in the given timeout, I want to continue from the same spot.
Can anyone help me with that one?