[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [5.1.4] Most portable solution to "sleep"?
- From: Gilles Ganault <gilles.ganault@...>
- Date: Fri, 18 Feb 2011 14:29:37 +0100
On Fri, 18 Feb 2011 14:21:14 +0100, Michal Kolodziejczyk <firstname.lastname@example.org>
>I would use socket.sleep() if you have it available (and probably you do).
>The "most portable" from the POV of the lua code is
>os.execute("/usr/bin/sleep 0.2"), but you need /usr/bin/sleep installed
>on both systems (which you probably have).
Cool, /bin/sleep is indeed available on the appliance. os.execute()