Hi Anjan, Thanks for the suggestion. Is this reliable though especially since this may be running on a wide variety of machines (very slow ones and very fast ones)? How long should the sleep be?
I guess I was thinking it might be useful to add a command line option to the launcher, something like: -x extract the sling files and then exit The main purpose here is to speed up startup time for subsequent runs :) Cheers, David On 23 July 2014 11:07, anjan <poliset...@gmail.com> wrote: > David, if you include a sleep command between the below two commands for > starting and stopping, it should work. > > java -jar sling.jar start -j localhost:0 > java -jar sling.jar stop -j localhost:0 > > Of course, the start command should open a different terminal and also the > stop command. > > > > -- > View this message in context: > http://apache-sling.73963.n3.nabble.com/Command-to-start-Sling-launchpad-expand-files-then-exit-tp4036574p4036608.html > Sent from the Sling - Users mailing list archive at Nabble.com.