I don't have any problem with adding a System.exit() call, but if commands spawn threads, they should stop them cleanly anyway, so that's kinda indicating a bug somewhere to me.
On Mon, Jun 18, 2012 at 10:31 AM, Ioannis Canellos <[email protected]> wrote: > By the way if you want to take a closer look, I was working on this: > https://github.com/jclouds/jclouds-cli which is a jclouds interactive shell > based on karaf and I was trying to also add support for non interactive > mode. > > In the current master of the project, I use a modified version of the Main > class that uses a System.exit as a workaround. > -- > *Ioannis Canellos* > * > FuseSource <http://fusesource.com> > > ** > Blog: http://iocanel.blogspot.com > ** > Twitter: iocanel > * -- ------------------------ Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ FuseSource, Integration everywhere http://fusesource.com
