Represents how a terminal exited.
Represents how a terminal exited.
(code terminal-exit-status)
The exit code that a terminal exited with, it can have the following values:
undefined
: the user forcibly closed the terminal or a custom execution exited
without providing an exit code.Returns: number | undefined
The exit code that a terminal exited with, it can have the following values: - Zero: the terminal process or custom execution succeeded. - Non-zero: the terminal process or custom execution failed. - `undefined`: the user forcibly closed the terminal or a custom execution exited without providing an exit code. **Returns:** `number | undefined`
(reason terminal-exit-status)
The reason that triggered the exit of a terminal.
Returns: TerminalExitReason
The reason that triggered the exit of a terminal. **Returns:** `TerminalExitReason`
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |