Experimental
Schema
ExecResponse
Type:
object
ExecResponse returns process output after the command exits.
exitCode
Type:
integer
exit_code is the process exit code.
All schema constraints and annotations
{
"description": "exit_code is the process exit code.",
"format": "int32",
"type": "integer"
}incomplete
Type:
boolean
incomplete is true when the combined capture limit forced stdout and/or
stderr to discard some of the command's real output; false whenever
every byte the command produced was retained, even if that total lands
exactly at the limit. exit_code is still the real, final exit code: the
command ran to completion, only its captured output was capped. A retry
would rerun the command, so this stays a normal successful response
rather than an error a client might retry.
All schema constraints and annotations
{
"description": "incomplete is true when the combined capture limit forced stdout and/or\nstderr to discard some of the command's real output; false whenever\nevery byte the command produced was retained, even if that total lands\nexactly at the limit. exit_code is still the real, final exit code: the\ncommand ran to completion, only its captured output was capped. A retry\nwould rerun the command, so this stays a normal successful response\nrather than an error a client might retry.",
"type": "boolean"
}stderr
Type:
string
stderr is captured stderr, up to the capture limit when incomplete.
All schema constraints and annotations
{
"description": "stderr is captured stderr, up to the capture limit when incomplete.",
"format": "byte",
"type": "string"
}stdout
Type:
string
stdout is captured stdout, up to the capture limit when incomplete.
All schema constraints and annotations
{
"description": "stdout is captured stdout, up to the capture limit when incomplete.",
"format": "byte",
"type": "string"
}All schema constraints and annotations
{
"description": "ExecResponse returns process output after the command exits.",
"properties": {
"exitCode": {
"description": "exit_code is the process exit code.",
"format": "int32",
"type": "integer"
},
"incomplete": {
"description": "incomplete is true when the combined capture limit forced stdout and/or\nstderr to discard some of the command's real output; false whenever\nevery byte the command produced was retained, even if that total lands\nexactly at the limit. exit_code is still the real, final exit code: the\ncommand ran to completion, only its captured output was capped. A retry\nwould rerun the command, so this stays a normal successful response\nrather than an error a client might retry.",
"type": "boolean"
},
"stderr": {
"description": "stderr is captured stderr, up to the capture limit when incomplete.",
"format": "byte",
"type": "string"
},
"stdout": {
"description": "stdout is captured stdout, up to the capture limit when incomplete.",
"format": "byte",
"type": "string"
}
},
"title": "ExecResponse",
"type": "object"
}