harrah/xsbt — Issue #226: Extend sbt-launcher for long running applications
Author: gseitz
Created: 2011-10-14 15:19:07+00:00
State: open

We use the launcher to start services, but due to having to return a `MainResult` (currently there's only `Exit` and `Reboot`) in `AppMain#run`, the launched application is killed by the subsequent `sys.exit` call.

It would be great to be able to indicate to the Launcher that the launched application will control the running status by returning an implementation of a new interface:

public interface Continue extends xsbti.MainResult`

in `AppMain#run`.

In this case, the launcher should also break out of the recursion in `run(runImpl)`, just to keep the application running.