Created
July 10, 2019 13:38
-
-
Save jeffmaury/30e56f6e8c76aba06a8487da0bd83b44 to your computer and use it in GitHub Desktop.
This file contains 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 bout = new ByteArrayOutputStream() | |
def out = new PrintStream(bout) | |
"ls -l /qa/tools/opt/openjdk11_last".execute().waitForProcessOutput( out, System.err ) | |
println(out) | |
println(bout) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment