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.