ACPex.Schema.Client.Terminal.WaitForExitResponse (ACPex v0.1.0)
View SourceResponse containing terminal exit information.
Sent by the client in response to a WaitForTerminalExitRequest, containing the terminal's exit code and/or signal.
Optional Fields
exit_code
- The exit code (integer, 0 or greater)signal
- The signal that terminated the process (string)meta
- Additional metadata (map)
Note: At least one of exit_code
or signal
should be present.
Example
%ACPex.Schema.Client.Terminal.WaitForExitResponse{
exit_code: 0,
signal: nil
}
JSON Representation
{
"exitCode": 0
}
Summary
Functions
Creates a changeset for validation.
Types
Functions
@spec changeset(t(), map()) :: Ecto.Changeset.t()
Creates a changeset for validation.
Optional Fields
exit_code
- If present, must be >= 0signal
- Optional signal string