Title: child_process,Windows: deprecate explicit use of `cmd.exe` · Issue #14157 · nodejs/node · GitHub
Open Graph Title: child_process,Windows: deprecate explicit use of `cmd.exe` · Issue #14157 · nodejs/node
X Title: child_process,Windows: deprecate explicit use of `cmd.exe` · Issue #14157 · nodejs/node
Description: Version: * Platform: Windows Subsystem: child_process https://github.com/nodejs/node/blob/master/lib/child_process.js#L444 has a fallback to use cmd.exe in case process.env.ComSpec is falsy. This is redundant, fragile, and generally cove...
Open Graph Description: Version: * Platform: Windows Subsystem: child_process https://github.com/nodejs/node/blob/master/lib/child_process.js#L444 has a fallback to use cmd.exe in case process.env.ComSpec is falsy. This i...
X Description: Version: * Platform: Windows Subsystem: child_process https://github.com/nodejs/node/blob/master/lib/child_process.js#L444 has a fallback to use cmd.exe in case process.env.ComSpec is falsy. This i...
Opengraph URL: https://github.com/nodejs/node/issues/14157
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"child_process,Windows: deprecate explicit use of `cmd.exe`","articleBody":"\u003c!--\r\nThank you for reporting an issue.\r\n\r\nThis issue tracker is for bugs and issues found within Node.js core.\r\nIf you require more general support please file an issue on our help\r\nrepo. https://github.com/nodejs/help\r\n\r\n\r\nPlease fill in as much of the template below as you're able.\r\n\r\nVersion: output of `node -v`\r\nPlatform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)\r\nSubsystem: if known, please specify affected core module name\r\n\r\nIf possible, please provide code that demonstrates the problem, keeping it as\r\nsimple and free of external dependencies as you are able.\r\n-->\r\n\r\n* **Version**: *\r\n* **Platform**: Windows\r\n* **Subsystem**: child_process\r\n\r\n\u003c!-- Enter your issue details below this comment. -->\r\nhttps://github.com/nodejs/node/blob/master/lib/child_process.js#L444 has a fallback to use `cmd.exe` in case `process.env.ComSpec` is falsy.\r\nThis is redundant, fragile, and generally covers-up an invalid state (`%ComSpec%` should always be defined and point to a valid shell executable).\r\nThis code path should be deprecated according to the guide at https://github.com/nodejs/node/blob/master/COLLABORATOR_GUIDE.md#deprecations\r\nand https://github.com/nodejs/node/blob/master/doc/api/deprecations.md\r\n\r\nRef: https://github.com/nodejs/node/pull/14149#discussion_r126477309","author":{"url":"https://github.com/refack","@type":"Person","name":"refack"},"datePublished":"2017-07-10T18:45:09Z","url":"https://github.com/nodejs/node/issues/14157"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:ec83cd51-4608-a2e3-f8b6-fc8a765467a5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8864:47CBF:5C8853:82A2F7:6B05BCCC |
| html-safe-nonce | 7645a56b34d9117207fbdc15ba2014136c774f5df80e20176da669d542afb4bd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODY0OjQ3Q0JGOjVDODg1Mzo4MkEyRjc6NkIwNUJDQ0MiLCJ2aXNpdG9yX2lkIjoiNDQ3OTk0NzY0Njk3Mzg2MTg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e69dfd5848fb6168aeba9eb9d024afb0fdc1908e56eb7eadbd886cd65b32bfef |
| hovercard-subject-tag | issue:241808510 |
| 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/14157/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5050a41662f49618a749a52f77144dae8e69d8efed1a115aa50f14f7cf1e2925/nodejs/node/issues/14157 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5050a41662f49618a749a52f77144dae8e69d8efed1a115aa50f14f7cf1e2925/nodejs/node/issues/14157 |
| og:image:alt | Version: * Platform: Windows Subsystem: child_process https://github.com/nodejs/node/blob/master/lib/child_process.js#L444 has a fallback to use cmd.exe in case process.env.ComSpec is falsy. This i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | refack |
| hostname | github.com |
| expected-hostname | github.com |
| None | 708c2f10d746dbcf1dd80dc8309daa7d595df3fce8066244380fc3238618f09c |
| 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 | 2a29e3cf4fb57e81fd311774f91f345cc4436f40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width