Package org.gradle.process
Interface ExecResult
public interface ExecResult
Represents the result of running an external process.
-
Method Summary
Modifier and TypeMethodDescriptionThrows anExecException
if the process exited with a non-zero exit value.int
Returns the exit value of the process.Re-throws any failure executing this process.
-
Method Details
-
getExitValue
int getExitValue()Returns the exit value of the process. -
assertNormalExitValue
Throws anExecException
if the process exited with a non-zero exit value.- Returns:
- this
- Throws:
org.gradle.process.internal.ExecException
- if the process exited with a non-zero exit value
-
rethrowFailure
Re-throws any failure executing this process.- Returns:
- this
- Throws:
org.gradle.process.internal.ExecException
- the execution failure
-