Signal
Signal =
"SIGTERM"|"SIGKILL"|"SIGPIPE"|"SIGHUP"|"SIGINT"|"SIGUSR1"|"SIGUSR2"|"SIGTSTP"|"SIGCONT"|"SIGTTIN"|"SIGTTOU"
Defined in: packages/core/src/kernel/types.ts:173
POSIX signal name accepted by proc.signal(pid, sig) and handlers.
Remarks
Section titled “Remarks”String union (not string) so unknown names are a compile error. Numbers
live in SIGNAL_NUMBER; derived (128 + N) for exit-code encoding
when a process is killed by a signal.
Example
Section titled “Example”import type { Signal } from '@fishnet/core'const sig: Signal = 'SIGTERM'SIGNAL_NUMBER