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:
Linn Dahlgren authored and Rich Trott committed 2020-09-24 05:31:09 -07:00
1 parent 9687348577
commit e36ffb72be
1 file changed
+2 -2
+2 -2
View File
@@ -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`