Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2011 08:47:07 -0500
From:      Eitan Adler <lists@eitanadler.com>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: OT: How to set a timeout for a process
Message-ID:  <AANLkTikn1k1cE=etraHb%2BGSt1-U0pdrXTX6M9eiUgZYY@mail.gmail.com>
In-Reply-To: <AANLkTi=NJA4by3Pnv7f=KOh-R%2BSTq_aLiuS9K4FFO0_7@mail.gmail.com>
References:  <AANLkTi=NJA4by3Pnv7f=KOh-R%2BSTq_aLiuS9K4FFO0_7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 27, 2011 at 3:37 AM, Aryeh Friedman
<aryeh.friedman@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikn1k1cE=etraHb%2BGSt1-U0pdrXTX6M9eiUgZYY>