Keep It Simple, Stupid | |
PerlMonks |
Re^2: Run and kill external programm after x secondsby demichi (Beadle) |
on Nov 22, 2016 at 14:13 UTC ( [id://1176337]=note: print w/replies, xml ) | Need Help?? |
Hi, my problem is that I run an external program X (I do not have control of this program X) and I get output from this program X. This program X may dies or don't give answer for hours. I would like to wait for e.g. 60 seconds and if there is no new input from this program X it should be closed/killed and my perl program should go on with next steps. kind regards, de michi
In Section
Seekers of Perl Wisdom
|
|