Skip to main content

exitCode

property Process.exitCode

A number which will be the process exit code, when the process either exits gracefully, or is exited via exit without specifying a code.

Specifying a code to exit will override any previous setting of process.exitCode.

number
| string
| number
| undefined
Back to top