property
Subprocess.signalCode
readonly signalCode: null | Signals
Synchronously get the signal code of the process
null if the process never sent a signal code
To receive signal code changes, use the onExit callback.
If the signal code is unknown, this is the original signal code number, but that case should never happen in practice.