ReplExitCodeScope
What an exit code computed through ExitCodeOptions is used for. Values are explicit and append-only so consumers can switch on them safely.
- Kind:
Enum - Namespace: Repl
- Assembly:
Repl.Core - Source: src/Repl.Core/ReplExitCodeScope.cs
Signature
Section titled “Signature”public enum ReplExitCodeScopeFields
Section titled “Fields”Process
Section titled “Process”The code the process exits with: one per top-level run, decided after every framework layer has run. The default, and the only value a one-shot run ever observes.
Process = 0Returns
Section titled “Returns”ShellIntegrationMark
Section titled “ShellIntegrationMark”The code decorating one interactive command’s shell-integration command-end mark
(OSC 133/633 D;). Scoped to that command; the process exit is resolved
separately when the session ends.
ShellIntegrationMark = 1