lua-users home
lua-l archive

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


for me, it's `os.exit()`, does exactly what i'd expect: tell the OS to
kill the host program.

it's not a normal, clean shutdown; it's an immediate, last-resort
kill.   anything else has to be asked specifically.

having a convenient, optional "try to close the interpreter"
capability is nice, but i'd rather not use it frequently; much better
is to ask the host program to close itself (and the Lua state(s))
orderly.


-- 
Javier