I would like to use crossbar for a desktop application, but instead of requiring the user to open a browser and navigate to localhost, it is easy enough to configure the browser as a crossbar guest worker. Stopping the application, however, requires two steps: Ctrl-C the console to stop crossbar, and then closing the browser.
Is there a more user-friendly way to start/stop desktop applications with crossbar?
An obvious approach would be to write my own twisted app to start crossbar and the browser as separate child processes, and then use a looping call to continuously check the browser pid. But running an external reactor just to watch for the browser to close sure feels like alot of extra baggage.