mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
doc: change type of child_process.signalCode to string
During testing, and interfacing with child_processes, I found that the child_process.signalCode property to be the string representation of the signal, not number. PR-URL: https://github.com/nodejs/node/pull/35223 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
1 parent
9687348577
commit
e36ffb72be
1 file changed
+2
-2
@@ -1389,9 +1389,9 @@ connection to the child.
|
||||
|
||||
### `subprocess.signalCode`
|
||||
|
||||
* {integer}
|
||||
* {string|null}
|
||||
|
||||
The `subprocess.signalCode` property indicates the signal number received by
|
||||
The `subprocess.signalCode` property indicates the signal received by
|
||||
the child process if any, else `null`.
|
||||
|
||||
### `subprocess.spawnargs`
|
||||
|
||||
Reference in new issue
Block a user