Skip to content

Instantly share code, notes, and snippets.

@trobrock
Created July 11, 2011 23:12
Show Gist options
  • Save trobrock/1077018 to your computer and use it in GitHub Desktop.
Save trobrock/1077018 to your computer and use it in GitHub Desktop.
Groovy script for running commands
def proc = ["which", "git"].execute()
proc.waitFor()
println "stdout: ${proc.in.text}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment