Title: child_process.spawnSync() not return anything. · Issue #728 · nodejs/help · GitHub
Open Graph Title: child_process.spawnSync() not return anything. · Issue #728 · nodejs/help
X Title: child_process.spawnSync() not return anything. · Issue #728 · nodejs/help
Description: Version: 6.11.0 or 6.11.1 Platform: Win10 Pro latest stable Subsystem: In my company's computer: let result = childProcess.spawnSync('D:/Program Files/nodejs/node.exe', ['--version']); work very well, can get return value. but let result...
Open Graph Description: Version: 6.11.0 or 6.11.1 Platform: Win10 Pro latest stable Subsystem: In my company's computer: let result = childProcess.spawnSync('D:/Program Files/nodejs/node.exe', ['--version']); work very we...
X Description: Version: 6.11.0 or 6.11.1 Platform: Win10 Pro latest stable Subsystem: In my company's computer: let result = childProcess.spawnSync('D:/Program Files/nodejs/node.exe', ['--version&...
Opengraph URL: https://github.com/nodejs/help/issues/728
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"child_process.spawnSync() not return anything.","articleBody":"* **Version**: 6.11.0 or 6.11.1\r\n* **Platform**: Win10 Pro latest stable\r\n* **Subsystem**:\r\n\r\n\r\n**In my company's computer:**\r\n```js\r\nlet result = childProcess.spawnSync('D:/Program Files/nodejs/node.exe', ['--version']);\r\n``` \r\nwork very well, can get return value.\r\n but \r\n```js\r\nlet result = childProcess.spawnSync('node', ['--version']);\r\n``` \r\nnot work and the code behind it will not execute.\r\n\r\n**I use myself computer:**\r\n```js\r\nlet result = childProcess.spawnSync('node', ['--version']);\r\n``` \r\nwas work very well.\r\n\r\n\r\nI have added `D:\\Program Files\\nodejs\\` to the environment variable.\r\n\r\nThis problem caused my vscode editor to not work properly. see[#45048199](https://stackoverflow.com/questions/45047450/in-the-child-process-module-in-node-js/45048199#)","author":{"url":"https://github.com/netcore-jroger","@type":"Person","name":"netcore-jroger"},"datePublished":"2017-07-13T03:03:25Z","url":"https://github.com/nodejs/help/issues/728"}
| 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:27eb1ed6-29ef-d2dd-2589-a162070d2fff |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D17A:114736:33487F:4816A6:6B05B607 |
| html-safe-nonce | 27bf8eaa52722547299d5cd0309ddaa3d2189d0348e932b42a3befe1bdbcb33c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTdBOjExNDczNjozMzQ4N0Y6NDgxNkE2OjZCMDVCNjA3IiwidmlzaXRvcl9pZCI6IjQ4MTI3MzU3NTQzMzYwNTY4MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5fc37545c914f08e3191cf487a854185cc71be0f058534318106e20d33406881 |
| hovercard-subject-tag | issue:242572300 |
| 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/help/728/issue_layout |
| twitter:image | https://opengraph.githubassets.com/41db889a71b9c769f2965d4371ae07c5913cc935d35538b8215621ec6aa4a402/nodejs/help/issues/728 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/41db889a71b9c769f2965d4371ae07c5913cc935d35538b8215621ec6aa4a402/nodejs/help/issues/728 |
| og:image:alt | Version: 6.11.0 or 6.11.1 Platform: Win10 Pro latest stable Subsystem: In my company's computer: let result = childProcess.spawnSync('D:/Program Files/nodejs/node.exe', ['--version']); work very we... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | netcore-jroger |
| hostname | github.com |
| expected-hostname | github.com |
| None | 106bb568ff143beb0075344f71b9097568f02130f2e85ac7ca2a4b82efb00b47 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/help git https://github.com/nodejs/help.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 43069468 |
| octolytics-dimension-repository_nwo | nodejs/help |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 43069468 |
| octolytics-dimension-repository_network_root_nwo | nodejs/help |
| 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 | b207ef4132553ef1428fae8ca470a518d651ce07 |
| 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