|Just another Perl shrine|
Setting a timer to a system callby Freezer (Sexton)
|on Aug 15, 2012 at 15:17 UTC||Need Help??|
Freezer has asked for the
wisdom of the Perl Monks concerning the following question:
I have a system call from within Perl to a Java program. I would like to set it up so that if the Java program does not finish executing within a fixed period of time it times out.
I was thinking of using a Linux call something like:
Although this does not throw an error, it clearly does not do what I want it to do.
Does anyone have potential solutions?