Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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?

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

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 drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2016-07-01 04:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (406 votes). Check out past polls.