You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
doc: child_process.kill() on windows needs clarification #34858
The NodeJS signals documentation (https://nodejs.org/api/process.html#process_signal_events) is pretty clear that on windows child_process.kill() does NOT actually send the signal, but rather just kills the child process abruptly.
However, the child_process.kill() documentation does not make this clarification, and it's opening sentence ("The subprocess.kill() method sends a signal to the child process. ") leads one to believe that the signal will in fact be sent to the child process on any platform, windows included.
Activity
[-]doc: child_process.kill() on windows misleading[/-][+]doc: child_process.kill() on windows needs clarification[/+]joaolucasl commentedon Aug 21, 2020
I can work on this if you're not willing to submit the PR yourself @s4m0r4m4, would that be okay?
s4m0r4m4 commentedon Aug 21, 2020
Totally! I'm haven't contributed to the NodeJS docs before so I'm fine with you doing it!
juanarbol commentedon Aug 21, 2020
Thank you @s4m0r4m4 for your report, amazing, and thank you @joaolucasl for offering to help. Leave a comment if you need help.
joaolucasl commentedon Aug 21, 2020
@juanarbol @s4m0r4m4
Just opened a PR with an initial paragraph to make this clearer. Let me know with a comment there if you have suggestions :)
doc: add Windows-specific info to subprocess.kill()
doc: add Windows-specific info to subprocess.kill()
doc: add Windows-specific info to subprocess.kill()