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
|
|---|