Interface ChildProcess<O>

interface ChildProcess<O> {
    code: null | number;
    signal: null | number;
    stderr: O;
    stdout: O;
}

Type Parameters

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.

stderr: O

The data that the process wrote to stderr.

stdout: O

The data that the process wrote to stdout.