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

> 
>> In the meantime, what's wrong with os.exit? :))
> 
> It does not call __gc.

In 5.2: os.exit ([code [, close])
_______________________________________________
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