Created
July 11, 2011 23:12
-
-
Save trobrock/1077018 to your computer and use it in GitHub Desktop.
Groovy script for running commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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