Title: doc: remove spawn with shell example from bat/cmd section by kovan · Pull Request #62243 · nodejs/node · GitHub
Open Graph Title: doc: remove spawn with shell example from bat/cmd section by kovan · Pull Request #62243 · nodejs/node
X Title: doc: remove spawn with shell example from bat/cmd section by kovan · Pull Request #62243 · nodejs/node
Description: Remove the suggestion to use child_process.spawn() with the shell option for running .bat and .cmd files on Windows. Passing arguments through spawn with shell: true is deprecated (DEP0190) due to shell injection risks. The exec() and direct cmd.exe spawn alternatives remain documented. Continues the work from #58739 which addressed the same issue but stale-closed without review. Fixes: #58735
Open Graph Description: Remove the suggestion to use child_process.spawn() with the shell option for running .bat and .cmd files on Windows. Passing arguments through spawn with shell: true is deprecated (DEP0190) due to ...
X Description: Remove the suggestion to use child_process.spawn() with the shell option for running .bat and .cmd files on Windows. Passing arguments through spawn with shell: true is deprecated (DEP0190) due to ...
Opengraph URL: https://github.com/nodejs/node/pull/62243
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d994f96d-44a6-145c-8630-fe8eadf72048 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8180:30AD7C:298EDEE:3AA22F0:6A4CEFA1 |
| html-safe-nonce | f92cefdd8533eb278b134b688a6bbb6b1b1ef771c846efe862b3ec94d8258b08 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTgwOjMwQUQ3QzoyOThFREVFOjNBQTIyRjA6NkE0Q0VGQTEiLCJ2aXNpdG9yX2lkIjoiODA4ODI1OTk3MjQwNjUwNTM3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7a0cf1dd925e0bbb29dd3530735cd6559816ea1eda62fa6e9c529ccb1c3b2ebd |
| hovercard-subject-tag | pull_request:3396040040 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/nodejs/node/pull/62243/files |
| twitter:image | https://avatars.githubusercontent.com/u/217326?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/217326?s=400&v=4 |
| og:image:alt | Remove the suggestion to use child_process.spawn() with the shell option for running .bat and .cmd files on Windows. Passing arguments through spawn with shell: true is deprecated (DEP0190) due to ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 299b43bca6e02ad35197ffeba30d2466846d5fb02ab96fbced5b5e6cec589fb8 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | efec6750a5afcaeaf5dfcf629f404cf98c8371e3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width