lua-users home
lua-l archive

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


> Signals perhaps? E.g. SIGTERM
> 
> For example:
> 
> http://lua-users.org/lists/lua-l/2010-07/msg00198.html

See also lua.c which catches SIGINT. The same technique can be used to
catch SIGTERM though you'll probably want to return a special error
object to signal termination.