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

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to