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
Virtualized OS can be used for?
- Something else (100%, 9 Votes)
- Portable OS (0%, 0 Votes)
- Standardized OS versions (0%, 0 Votes)
- More Flexibility/Scalability (0%, 0 Votes)
- Games (0%, 0 Votes)
- Build environments (0%, 0 Votes)
- Test environments (0%, 0 Votes)
- Development environments (0%, 0 Votes)
- Nothing useful (0%, 0 Votes)
Total Voters: 9
Loading ...
Most popular search terms:
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
|


















