Title: doc: child_process.kill() on windows needs clarification · Issue #34858 · nodejs/node · GitHub
Open Graph Title: doc: child_process.kill() on windows needs clarification · Issue #34858 · nodejs/node
X Title: doc: child_process.kill() on windows needs clarification · Issue #34858 · nodejs/node
Description: 📗 API Reference Docs Problem Version: v14 and previous ones as well, like v12 LTS Platform: Windows Subsystem: child_process signals Location Section of the site where the content exists Affected URL(s): https://nodejs.org/api/child_proc...
Open Graph Description: 📗 API Reference Docs Problem Version: v14 and previous ones as well, like v12 LTS Platform: Windows Subsystem: child_process signals Location Section of the site where the content exists Affected U...
X Description: 📗 API Reference Docs Problem Version: v14 and previous ones as well, like v12 LTS Platform: Windows Subsystem: child_process signals Location Section of the site where the content exists Affected U...
Opengraph URL: https://github.com/nodejs/node/issues/34858
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"doc: child_process.kill() on windows needs clarification","articleBody":"# 📗 API Reference Docs Problem\r\n\r\n\u003c!--\r\n\r\nThank you for wanting to make nodejs.org better!\r\n\r\nThis template is for issues with the Node.js API\r\nreference documentation.\r\n\r\nFor problems with nodejs.org beyond the API\r\nreference documentation, please open an issue\r\nusing the issue tracker for our site repository.\r\n\r\n https://github.com/nodejs/nodejs.org\r\n\r\nFor more general support, please open an issue\r\nusing the issue tracker for our help repository.\r\n\r\n https://github.com/nodejs/help\r\n\r\n---\r\n\r\nFor the issue title, please enter a one-line\r\nsummary after “doc: ” (preferably 50 characters\r\nor less and no more than 72).\r\n\r\nThe “✍️” are placeholders signifying requests for\r\ninput. Replace them with your responses.\r\n\r\nIf you are unsure of something, do your best.\r\n\r\n-->\r\n\r\n\u003c!-- The output of “node --version”. -->\r\n\r\n- **Version**: v14 and previous ones as well, like v12 LTS\r\n\r\n\u003c!-- The output of “uname -a” (UNIX) or version\r\nand 32-bit or 64-bit (Windows). -->\r\n\r\n- **Platform**: Windows\r\n\r\n\u003c!-- The name of affected core module. -->\r\n\r\n- **Subsystem**: child_process signals\r\n\r\n## Location\r\n\r\n_Section of the site where the content exists_\r\n\r\nAffected URL(s):\r\n\r\n- https://nodejs.org/api/child_process.html\r\n\r\n## Description\r\n\r\n_Concise explanation of the problem_\r\n\r\n\u003c!-- If applicable, include any screenshots that\r\nmay help solve the problem. -->\r\n\r\nThe NodeJS signals documentation (https://nodejs.org/api/process.html#process_signal_events) is pretty clear that on windows child_process.kill(\u003csignal here>) does NOT actually send the signal, but rather just kills the child process abruptly.\r\n\r\nHowever, 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.\r\n\r\nI'd love to just see a quick blurb/sentence that clarifies the behavior on windows vs other platforms (or perhaps just a link pointing to the signals documentation - https://nodejs.org/api/process.html#process_signal_events).\r\n\r\n---\r\n\r\n\u003c!-- Use “[x]” to check the box below if you are\r\ninterested in contributing. -->\r\n\r\n- [ ] I would like to work on this issue and\r\n submit a pull request.\r\n","author":{"url":"https://github.com/s4m0r4m4","@type":"Person","name":"s4m0r4m4"},"datePublished":"2020-08-20T21:00:14Z","url":"https://github.com/nodejs/node/issues/34858"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:79cb7a01-bcfc-ff84-b1e1-ed20a1ad8990 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8B6E:1E2715:74EAC7:977D79:6AED30F7 |
| html-safe-nonce | 9175631bd12a004edc6ad253507c27448778a489fb60b41f80342d23f02794e6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjZFOjFFMjcxNTo3NEVBQzc6OTc3RDc5OjZBRUQzMEY3IiwidmlzaXRvcl9pZCI6IjgxNjg0MzY5NDAxMzUwMTg3NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bc3f570a889975dd535f079b060da9417dc1979b14b64f16f07f94e2c5583fc4 |
| hovercard-subject-tag | issue:683093136 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/34858/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6b70013a54a79f60d62bef4ea87e57f53373252965044954f34515148dd7f98c/nodejs/node/issues/34858 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6b70013a54a79f60d62bef4ea87e57f53373252965044954f34515148dd7f98c/nodejs/node/issues/34858 |
| og:image:alt | 📗 API Reference Docs Problem Version: v14 and previous ones as well, like v12 LTS Platform: Windows Subsystem: child_process signals Location Section of the site where the content exists Affected U... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | s4m0r4m4 |
| hostname | github.com |
| expected-hostname | github.com |
| None | e51d0b7b5ab34b1688c05b54c3ed17b8658b2fa9bca973a9c740683ccb12cf4a |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 59ebb7b901cc154ecc179a44f266fcf69f343b30 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width