Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: The Halting Problem



On 28 December 2013 17:49, Chris Johnson <johnch@xxxxxxxx> wrote:
> Hi, folks. I have the following interest: I want to run a potentially long-running job interactively from a script, but if this job exceeds a certain duration, I want to kill it and notify the user.

...

> I'm thankful for any suggestions!

If you happen to have a fairly new version of gnu coreutils installed,
the 'timeout' command might be of interest here.

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author