[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: <close> and os.exit()
- From: Javier Guerra Giraldez <javier@...>
- Date: Sat, 30 May 2020 11:19:08 -0500
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