Title: Allow options to be provided to child_process.send() by cjihrig · Pull Request #5283 · nodejs/node · GitHub
Open Graph Title: Allow options to be provided to child_process.send() by cjihrig · Pull Request #5283 · nodejs/node
X Title: Allow options to be provided to child_process.send() by cjihrig · Pull Request #5283 · nodejs/node
Description: This PR adds an options argument to child_process.send() and process.send(). The second commit adds a keepOpen option that allows net.Socket instances to be kept open in multiple processes. One limitation of the current implementation is that the new options argument can only be specified if the optional sendHandle argument is also provided. It's an unfortunate side effect of allowing multiple optional arguments of the same data type consecutively in function arguments. It can be worked around by duplicating code in _send(), but I'd rather save that for a semver-major change. Closes #4271
Open Graph Description: This PR adds an options argument to child_process.send() and process.send(). The second commit adds a keepOpen option that allows net.Socket instances to be kept open in multiple processes. One lim...
X Description: This PR adds an options argument to child_process.send() and process.send(). The second commit adds a keepOpen option that allows net.Socket instances to be kept open in multiple processes. One lim...
Opengraph URL: https://github.com/nodejs/node/pull/5283
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:a20660fc-ce52-42c9-19ce-fb26d1acd537 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A372:164825:205DBC2:2BE1514:6A65588A |
| html-safe-nonce | 4617e5efc7bfa82910562bf12628792d0bc7d7d7d73ef30c1509ca9709bdb943 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzcyOjE2NDgyNToyMDVEQkMyOjJCRTE1MTQ6NkE2NTU4OEEiLCJ2aXNpdG9yX2lkIjoiMzMxMTg5OTE1Njg5MDg2Nzg1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b86c7f418d3a81a1e37da621ed827d80f60a4afbdac7f53e4354dabe07261b3d |
| hovercard-subject-tag | pull_request:59662468 |
| 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/5283/commits/e854f60585061c81702cf680ad8079a447d19ef1 |
| twitter:image | https://avatars.githubusercontent.com/u/2512748?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2512748?s=400&v=4 |
| og:image:alt | This PR adds an options argument to child_process.send() and process.send(). The second commit adds a keepOpen option that allows net.Socket instances to be kept open in multiple processes. One lim... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b |
| 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 full-width |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 309153364422b3c499922d1a2a6404910a58ed8e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width