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>
This commit is contained in:
himself65
2019-05-18 20:33:56 +08:00
committed by ZYSzys
parent 873c372e67
commit 2e5bc8047e

View File

@@ -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