Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active February 3, 2026 20:23
Show Gist options
  • Select an option

  • Save dacr/9fee95b1bd3fdb9d86aefd8135863b4d to your computer and use it in GitHub Desktop.

Select an option

Save dacr/9fee95b1bd3fdb9d86aefd8135863b4d to your computer and use it in GitHub Desktop.
web-echo web service launcher script / published by https://github.com/dacr/code-examples-manager #295ed023-00b4-490d-8bba-eba36974b171/9584dffb0bbab014ee5d0a762dc188b018fcc85e
// summary : web-echo web service launcher script
// keywords : webecho, webservice, launcher
// publish : gist
// authors : David Crosson
// license : Apache License Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt)
// id : 295ed023-00b4-490d-8bba-eba36974b171
// created-on : 2021-03-03T12:51:43Z
// managed-by : https://github.com/dacr/code-examples-manager
// execution : scala ammonite script (http://ammonite.io/) - run as follow 'amm scriptname.sc'
import $ivy.`fr.janalyse::web-echo:1.2.2`
val service = webecho.Main.start()
service.waitSystemTerminate() // Just to avoid automatic exit in ammonite script mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment