Skip to content

Instantly share code, notes, and snippets.

@yenjoji
Created September 4, 2012 13:00
Show Gist options
  • Save yenjoji/3620946 to your computer and use it in GitHub Desktop.
Save yenjoji/3620946 to your computer and use it in GitHub Desktop.
groovy で ls -la
def proc = [ "ls", "-la"].execute()
proc.inputStream.eachLine{
println it
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment