Skip to content

TerminalExitStatus

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.base
Base class for generated models.

⋔ Inheritance diagram

graph TD
  95970859996608["terminal.TerminalExitStatus"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970859996608
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

Exit status of a terminal command.

Source code in src/aclientp/schema/terminal.py
class TerminalExitStatus(AnnotatedObject):
    """Exit status of a terminal command."""

    exit_code: int | None = None
    """The process exit code (may be null if terminated by signal)."""

    signal: str | None = None
    """The signal that terminated the process (may be null if exited normally)."""

exit_code class-attribute instance-attribute

exit_code: int | None = None

The process exit code (may be null if terminated by signal).

signal class-attribute instance-attribute

signal: str | None = None

The signal that terminated the process (may be null if exited normally).

:fa-brands-github: Show source on GitHub