api / org.gradle.process / ExecResult

ExecResult

interface ExecResult

Represents the result of running an external process.

Functions

assertNormalExitValue

abstract fun assertNormalExitValue(): ExecResult

Throws an org.gradle.process.internal.ExecException if the process exited with a non-zero exit value.

getExitValue

abstract fun getExitValue(): Int

Returns the exit value of the process.

rethrowFailure

abstract fun rethrowFailure(): ExecResult

Re-throws any failure executing this process.