We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d1d136 commit 30a4f68Copy full SHA for 30a4f68
doc/api/child_process.md
@@ -1061,10 +1061,12 @@ added: v0.1.90
1061
-->
1062
1063
* `signal` {number|string}
1064
+* Returns: {boolean}
1065
1066
The `subprocess.kill()` method sends a signal to the child process. If no
1067
argument is given, the process will be sent the `'SIGTERM'` signal. See
-signal(7) for a list of available signals.
1068
+signal(7) for a list of available signals. This function returns `true` if
1069
+kill(2) succeeds, and `false` otherwise.
1070
1071
```js
1072
const { spawn } = require('child_process');
0 commit comments