summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhimself65 <himself65@outlook.com>2019-05-18 20:33:56 +0800
committerZYSzys <zyszys98@gmail.com>2019-05-20 23:00:31 +0800
commit2e5bc8047ea2b1fb143c24055c0aebcbf18894fb (patch)
tree44553cf6c642762ae6e30482f07812a7b2a398a4 /doc
parent873c372e6772d7378531d6afc8cad8bd513bdc58 (diff)
downloadandroid-node-v8-2e5bc8047ea2b1fb143c24055c0aebcbf18894fb.tar.gz
android-node-v8-2e5bc8047ea2b1fb143c24055c0aebcbf18894fb.tar.bz2
android-node-v8-2e5bc8047ea2b1fb143c24055c0aebcbf18894fb.zip
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>
Diffstat (limited to 'doc')
-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