Title: bpo-32270: Don't close stdin/out/err in pass_fds by gpshead · Pull Request #6242 · python/cpython · GitHub
Open Graph Title: bpo-32270: Don't close stdin/out/err in pass_fds by gpshead · Pull Request #6242 · python/cpython
X Title: bpo-32270: Don't close stdin/out/err in pass_fds by gpshead · Pull Request #6242 · python/cpython
Description: When subprocess.Popen() stdin= stdout= or stderr= handles are specified and appear in pass_fds=, don't close their original fds after dup2'ing them to 0/1/2. I still need to create a proper unittest and NEWS entry before this can be merged. https://bugs.python.org/issue32270
Open Graph Description: When subprocess.Popen() stdin= stdout= or stderr= handles are specified and appear in pass_fds=, don't close their original fds after dup2'ing them to 0/1/2. I still need to create a proper...
X Description: When subprocess.Popen() stdin= stdout= or stderr= handles are specified and appear in pass_fds=, don't close their original fds after dup2'ing them to 0/1/2. I still need to create ...
Opengraph URL: https://github.com/python/cpython/pull/6242
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e2b6b1ab-7f93-0710-f10f-521e2cd2903b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9072:320E86:48A6F7:69F5F0:6A4E0988 |
| html-safe-nonce | b79641007bbc8468657f8ab720debdf4493e5eeefc421fe74562b0c821e38784 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDcyOjMyMEU4Njo0OEE2Rjc6NjlGNUYwOjZBNEUwOTg4IiwidmlzaXRvcl9pZCI6IjQ2ODQ3NzU2MzQ3NjA1MDE2NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 207489df4fc9c3684e29a9a818397ead00ff10defb42522a78c92dd472a5f1b6 |
| hovercard-subject-tag | pull_request:177306869 |
| 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/python/cpython/pull/6242/files |
| twitter:image | https://avatars.githubusercontent.com/u/68491?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/68491?s=400&v=4 |
| og:image:alt | When subprocess.Popen() stdin= stdout= or stderr= handles are specified and appear in pass_fds=, don't close their original fds after dup2'ing them to 0/1/2. I still need to create a proper... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | df0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 52bde38e24398476f8eb1e0760c81346c6a00812 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width