Package org.gradle.process
Interface ExecResult
public interface ExecResult
Represents the result of running an external process.
- 
Method SummaryModifier and TypeMethodDescriptionThrows aProcessExecutionExceptionif the process exited with a non-zero exit value.intReturns the exit value of the process.Re-throws any failure executing this process.
- 
Method Details- 
getExitValueint getExitValue()Returns the exit value of the process.
- 
assertNormalExitValueThrows aProcessExecutionExceptionif the process exited with a non-zero exit value.- Returns:
- this
- Throws:
- ProcessExecutionException- if the process exited with a non-zero exit value
 
- 
rethrowFailureRe-throws any failure executing this process.- Returns:
- this
- Throws:
- ProcessExecutionException- the execution failure
 
 
-