public interface ExecResult
Modifier and Type | Method | Description |
---|---|---|
ExecResult |
assertNormalExitValue() |
Throws an
ExecException if the process exited with a non-zero exit value. |
int |
getExitValue() |
Returns the exit value of the process.
|
ExecResult |
rethrowFailure() |
Re-throws any failure executing this process.
|
int getExitValue()
ExecResult assertNormalExitValue() throws org.gradle.process.internal.ExecException
ExecException
if the process exited with a non-zero exit value.org.gradle.process.internal.ExecException
- if the process exited with a non-zero exit valueExecResult rethrowFailure() throws org.gradle.process.internal.ExecException
org.gradle.process.internal.ExecException
- the execution failure