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.
gradle
Toggle table of contents
9.9.1
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.process
/
ExecOutput
Exec
Output
API
interface
ExecOutput
(
source
)
Provides lazy access to the output of the external process.
Since
7.5
Members
Types
Standard
Stream
Content
Link copied to clipboard
API
interface
StandardStreamContent
A handle to access content of the process' standard stream (the standard output of the standard error output).
Functions
get
Result
Link copied to clipboard
API
abstract
fun
getResult
(
)
:
Provider
<
ExecResult
>
Returns a provider of the execution result.
get
Standard
Error
Link copied to clipboard
API
abstract
fun
getStandardError
(
)
:
ExecOutput.StandardStreamContent
Gets a handle to the content of the process' standard error output.
get
Standard
Output
Link copied to clipboard
API
abstract
fun
getStandardOutput
(
)
:
ExecOutput.StandardStreamContent
Gets a handle to the content of the process' standard output.