lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> This was first mentioned on the mailing list in 2004, but the bug still
> exists today :
> print( os.execute("exit 1") )
> 256

In both Mac OS X and Linux I get this with Lua 5.2.1:

% lua
Lua 5.2.1  Copyright (C) 1994-2012 Lua.org, PUC-Rio
> print( os.execute("exit 1") )
nil	exit	1