Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinn Dahlgren <admin@opposite.biz>2020-09-16 09:43:00 +0300
committerRich Trott <rtrott@gmail.com>2020-09-24 15:31:09 +0300
commite36ffb72bebae55091304da51837ca204367dc16 (patch)
tree8adb54ceb3c581b3853e35d8b2f1508df1772663 /doc/api/child_process.md
parent9687348577347cf41f10617a6b3b457825347cf2 (diff)
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>
Diffstat (limited to 'doc/api/child_process.md')
-rw-r--r--doc/api/child_process.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md
index 7ef5c823873..3a5f64d6228 100644
--- a/doc/api/child_process.md
+++ b/doc/api/child_process.md
@@ -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`