Interface TerminatedPayload

Payload for the Terminated command event.

interface TerminatedPayload {
    code: null | number;
    signal: null | number;
}

Properties

Properties

code: null | number

Exit code of the process. null if the process was terminated by a signal on Unix.

signal: null | number

If the process was terminated by a signal, represents that signal.