ReplProcessSignal
A process signal a test can deliver. Append-only: a new member may be added, but the meaning of an existing one never changes.
- Kind:
Enum - Namespace: Repl.Testing
- Assembly:
Repl.Testing - Source: src/Repl.Testing/ReplProcessSignal.cs
Signature
Section titled “Signature”public enum ReplProcessSignalFields
Section titled “Fields”Ctrl+Break, which is a signal only on Windows and is ignored elsewhere. Carries the same
130 as Interrupt; only the operator-facing name differs.
Whether it counts follows the platform declared in Platform, not the platform the test happens to run on.
Break = 2Returns
Section titled “Returns”Interrupt
Section titled “Interrupt”Ctrl+C on a console, SIGINT on Unix. Carries the conventional 130.
Goes through console cancel-key arbitration, so an interactive session that owns the console keys handles it instead of the standalone signal bridge.
Interrupt = 0Returns
Section titled “Returns”Terminate
Section titled “Terminate”SIGTERM. Carries the conventional 143.
Unlike Interrupt and Break, SIGTERM does not participate in the interactive console-key priority rule: an interactive session does not shield a run from it.
Terminate = 1