Skip to content

terminal

Class info

Classes

Name Children Inherits
TerminalExitStatus
aclientp.schema.terminal
Exit status of a terminal command.

    🛈 DocStrings

    Terminal schema definitions.

    TerminalExitStatus

    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).