Skip to content

Instantly share code, notes, and snippets.

@robenalt
Last active June 10, 2016 19:01
Show Gist options
  • Save robenalt/d85ab62ed606d8c4c75aaa89dd843520 to your computer and use it in GitHub Desktop.
Save robenalt/d85ab62ed606d8c4c75aaa89dd843520 to your computer and use it in GitHub Desktop.
run a commandline and capture output
import scala.sys.process._
//"ls -la".!!
val result = "ls -la".!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment