summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhimself65 <himself65@outlook.com>2019-05-18 20:33:56 +0800
committerRuben Bridgewater <ruben@bridgewater.de>2019-05-21 13:13:28 +0200
commitd1da11765d886c764b93f25c1b95fe14472c2946 (patch)
tree588dfa68c0ad0636a8a6a8488798394ccf5fab41
parent80f30741bd1ecc485fbeb4162fae8bbd6ed7b9b5 (diff)
downloadnode-new-d1da11765d886c764b93f25c1b95fe14472c2946.tar.gz
doc: correct parameter type on 'subprocess.kill([signal])'
PR-URL: https://github.com/nodejs/node/pull/27760 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
-rw-r--r--doc/api/child_process.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md
index b3c9d10250..b7c0d52a0f 100644
--- a/doc/api/child_process.md
+++ b/doc/api/child_process.md
@@ -1022,7 +1022,7 @@ within the child process to close the IPC channel as well.
added: v0.1.90
-->
-* `signal` {string}
+* `signal` {number|string}
The `subprocess.kill()` method sends a signal to the child process. If no
argument is given, the process will be sent the `'SIGTERM'` signal. See