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

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 14:56 UTC ( #953969=note: print w/ replies, xml ) Need Help??


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

I want the script (my_stubborn_shell) to be killed after the timeout (as this script does not exit gracefully), but then, when it's killed, I want to have the output that my_stubborn_shell sent to STDOUT, or an indication that it did not print anything.

regards,
Luke Jefferson


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-07-26 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls