Execute bash (cmd, csh etc.) commandBy neokrates, written on April 27, 2010 |
groovy snippet |
- neokrates
- Email: uwarov@yahoo.com
- Website: http://www.thinkplexx.com
- Join date: 05-31-09
- Posts: 20
Rate it
Ad
Poll
Loading ...
Most popular search terms:
Stats
-
Since publication, this page was visited 235 time(s).
1 2 3 4 5 6 7 | def anyCommand = "date" println "command = ($anyCommand)" def proc = anyCommand.execute(); proc.waitFor(); println "return code: ${ proc.exitValue()}" println "stderr: ${proc.err.text}" println "stdout: ${proc.in.text}" |
|
TAGS
|
|
SOCIAL
|


















