September 25, 2013 11:19 AM
--
You received this message because you are subscribed to the Google Groups "sinatrarb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sinatrarb+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I'd like to know how to programmatically exit a Sinatra app *from within the app itself*.
I think this is not possible, and using exit will not work because it raises a SystemExit exception and the exceptions raised inside routes are handled by sinatra.
Maybe you can kill the process, but this will be really ugly.