lua-users home
lua-l archive

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


Hi all! 
In stand-alone lua interpreter:

a = {__gc = function() print'exit' end}
setmetatable(a,a)
os.exit()

-> nothing to print.
But if i exit with combination <Ctrl+d>  all Ok.
What's the problem?
Thanks!