Skip to content

CommandExecResponse

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  4040280486["v2_protocol.CommandExecResponse"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 4040280486
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

Final buffered result for command/exec.

Source code in src/codexed/models/v2_protocol.py
class CommandExecResponse(CodexBaseModel):
    """Final buffered result for `command/exec`."""

    exit_code: int
    """
    Process exit code.
    """
    stderr: str
    """
    Buffered stderr capture.

    Empty when stderr was streamed via `command/exec/outputDelta`.
    """
    stdout: str
    """
    Buffered stdout capture.

    Empty when stdout was streamed via `command/exec/outputDelta`.
    """

exit_code instance-attribute

exit_code: int

Process exit code.

stderr instance-attribute

stderr: str

Buffered stderr capture.

Empty when stderr was streamed via command/exec/outputDelta.

stdout instance-attribute

stdout: str

Buffered stdout capture.

Empty when stdout was streamed via command/exec/outputDelta.

:fa-brands-github: Show source on GitHub