OT: How to set a timeout for a process

Eitan Adler lists at eitanadler.com
Thu Jan 27 13:47:28 UTC 2011

On Thu, Jan 27, 2011 at 3:37 AM, Aryeh Friedman
<aryeh.friedman at gmail.com> wrote:
> I have a script that may or not hang (the reasons why it hangs are
> unimportant here) and need to call it from an other script and need to
> say if it hangs to give up after X seconds and just continue the
> script (no harm done if it fails)

or in addition to my previous answer use /usr/ports/sysutils/timelimit

Eitan Adler

More information about the freebsd-questions mailing list