Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.process
Interface ExecResult

    public interface ExecResult

Represent the result of running an external process.

Method Summary
`ExecResult` | `assertNormalExitValue()` Throws an `ExecException` if the process did not exit with a 0 exit value.
`int` | `getExitValue()` Return the exit value of the process.
`ExecResult` | `rethrowFailure()` Re-throws any failure executing this process.

Method Detail

### getExitValue

    int getExitValue()

  Return the exit value of the process.

### assertNormalExitValue

    ExecResult assertNormalExitValue()
                                     throws org.gradle.process.internal.ExecException

  Throws an `ExecException` if the process did not exit with a 0 exit value.

  Returns:
    this
  Throws:
    `org.gradle.process.internal.ExecException` - On non-zero exit value.

### rethrowFailure

    ExecResult rethrowFailure()
                              throws org.gradle.process.internal.ExecException

  Re-throws any failure executing this process.

  Returns:
    this
  Throws:
    `org.gradle.process.internal.ExecException` - The execution failure

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD