We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
process.exitCode
1 parent 5507e2f commit adaf151Copy full SHA for adaf151
doc/api/process.md
@@ -1816,9 +1816,15 @@ than the current process.
1816
1817
<!-- YAML
1818
added: v0.11.8
1819
+changes:
1820
+ - version: REPLACEME
1821
+ pr-url: https://github.com/nodejs/node/pull/43716
1822
+ description: Only accepts a code of type number, or of type string if it
1823
+ represents an integer.
1824
-->
1825
-* {integer}
1826
+* {integer|string|null|undefined} The exit code. For string type, only
1827
+ integer strings (e.g.,'1') are allowed. **Default:** `undefined`.
1828
1829
A number which will be the process exit code, when the process either
1830
exits gracefully, or is exited via [`process.exit()`][] without specifying
0 commit comments