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 e2f8d23 commit a2ef669Copy full SHA for a2ef669
doc/api/child_process.md
@@ -1044,10 +1044,12 @@ added: v0.1.90
1044
-->
1045
1046
* `signal` {number|string}
1047
+* Returns: {boolean}
1048
1049
The `subprocess.kill()` method sends a signal to the child process. If no
1050
argument is given, the process will be sent the `'SIGTERM'` signal. See
-signal(7) for a list of available signals.
1051
+signal(7) for a list of available signals. This function returns `true` if
1052
+kill(2) succeeds, and `false` otherwise.
1053
1054
```js
1055
const { spawn } = require('child_process');
0 commit comments