http://www.perlmonks.org?node_id=953981


in reply to How to run a command, gather its output and kill it after a specified time?

You already kill the external program. You then decide to kill the main program when that happens. If you don't want to die, then, well, don't.
  • Comment on Re: How to run a command, gather its output and kill it after a specified time?

Replies are listed 'Best First'.
Re^2: How to run a command, gather its output and kill it after a specified time?
by blindluke (Hermit) on Feb 15, 2012 at 18:36 UTC

    Thank you, JavaFan! Of course, moritz already gave the right suggestion, but I was as stubborn as the shell in question in not understanding what he said. :)

    My sincere thanks for the answer, and for having the necessary patience to repeat it for me.

    regards,
    Luke Jefferson