public static final class Shell.Result
extends java.lang.Object
implements java.lang.Iterable<java.lang.String>
Shell.execute(Charset, String...) command execution result.| Modifier and Type | Method and Description |
|---|---|
int |
exitCode()
Gets the process exit code.
|
java.util.Iterator<java.lang.String> |
iterator()
Gets an iterator over the captured stdout/stderr lines.
|
java.util.List<java.lang.String> |
lines()
Gets the list holding the captured stdout/stderr lines.
|
public int exitCode()
public java.util.List<java.lang.String> lines()
public java.util.Iterator<java.lang.String> iterator()
iterator in interface java.lang.Iterable<java.lang.String>Iterator over the stdout/stderr linesCopyright © 2022. All rights reserved.