[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc1) now available
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 14 Jun 2011 12:59:22 +0200
On Mon, Jun 13, 2011 at 8:33 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
> All feedback welcome. Thanks.
Here's a little gotcha mentioned in the changes section of the manual
(http://www.lua.org/work/doc/manual.html#8.2)
"Function os.execute now returns true when command terminates
successfully and nil plus error information otherwise."
We will have to get out of the old habit of regarding non-zero as being 'bad'
> = os.execute 'lss'
'lss' is not recognized as an internal or external command, operable
program or batch file.
nil exit 1
The docs say it returns nil, 'exit' or 'signal' and the return code
BTW, thanks again to the Lua team for packing so much functionality into 150K !
steve d.