Freezer has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
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:
Does anyone have potential solutions?
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.ulimit -t 200 | java ....
Does anyone have potential solutions?
Back to
Seekers of Perl Wisdom