Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by JavaFan (Canon)
on Feb 15, 2012 at 15:44 UTC ( #953981=note: print w/ replies, xml ) Need Help??


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?
Re^2: How to run a command, gather its output and kill it after a specified time?
by blindluke (Beadle) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://953981]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2014-04-17 00:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (436 votes), past polls