For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

ExecResult

interface ExecResult(source)

Represents the result of running an external process.

Since

0.9

Functions

Link copied to clipboard
Throws a ProcessExecutionException if the process exited with a non-zero exit value.
Link copied to clipboard
abstract fun getExitValue(): Int
Returns the exit value of the process.
Link copied to clipboard
abstract fun rethrowFailure(): ExecResult
Re-throws any failure executing this process.