[Catalyst] Killing the standalone perl server programatically
Stefan Washietl
wash at paperpile.org
Fri Jun 12 13:19:19 GMT 2009
I'm developing a desktop application using Catalyst and the brand new
Titanium framework (http://www.appcelerator.com/).
I need to start/stop the standalone server programatically. Starting is
easy, but stopping the server (and its forks) again is tricky. I'd like
a solution without keeping track of the PID and explicitely kill it from
outside. I want to have something like
http://localhost:3000/kill
that calls something in the controller to shut down. The obvious thing
exit(0);
does not work. Any ideas how to do this?
Stefan
More information about the Catalyst
mailing list