Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TerminalExitStatus

Represents how a terminal exited.

Hierarchy

  • TerminalExitStatus

Index

Properties

Properties

code: undefined | number

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.

The reason that triggered the exit of a terminal.