Provides ways to execute external processes
java.lang.String
run(java.lang.String... commandLine)
run(java.util.List<java.lang.String> commandLine)
Executes given command line and returns the output.
commandLine
Executes given command line and returns result.
Groovy Documentation