Date: Thu, 27 Jan 2011 03:37:34 -0500 From: Aryeh Friedman <aryeh.friedman@gmail.com> To: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: OT: How to set a timeout for a process Message-ID: <AANLkTi=NJA4by3Pnv7f=KOh-R%2BSTq_aLiuS9K4FFO0_7@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=NJA4by3Pnv7f=KOh-R%2BSTq_aLiuS9K4FFO0_7>