Interface ExitEvent

An event indicating that process has exited.

interface ExitEvent {
    code?: number;
    signal?: Signals;
    type: "exit";
}

Properties

Properties

code?: number

The exit code. This will be undefined if the subprocess was killed via signal.

signal?: Signals

The signal that caused this process to exit. This will be undefined if the subprocess exited normally.

type