On Thu, Nov 4, 2010 at 21:28, Petite Abeille <petite.abei...@gmail.com> wrote:
> On Nov 4, 2010, at 4:46 AM, Alexander Gladysh wrote:

>>> Hmmm... perhaps I'm missing something, but... isn't it akin to asking how 
>>> to shutdown an HTTP server from inside a CGI? I.e. this doesn't compute :)

>> But it does -- I need to restart to get fresh code up and running.

> Hmmm... then... if you want a portable solution (i.e. working across 
> different containers)... it's going to get a bit more complicated... on the 
> bright side, most CGI implementations do that out-of-the-box :P

I don't want a portable solution.

I want a solution that works in my case.

>>> In the meantime, what's wrong with os.exit? :))

>> It does not call __gc.

> In 5.2: os.exit ([code [, close])

Sorry, but "everything may change" :-P

Seriously, until LJ2 supports it, Lua 5.2 is not an option for my
production code.

Alexander.

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to