Title: subprocess.check_output() with timeout does not exit if child process does not generate output after timeout · Issue #76976 · python/cpython · GitHub
Open Graph Title: subprocess.check_output() with timeout does not exit if child process does not generate output after timeout · Issue #76976 · python/cpython
X Title: subprocess.check_output() with timeout does not exit if child process does not generate output after timeout · Issue #76976 · python/cpython
Description: BPO 32795 Nosy @eryksun, @fangyi-zhou PRs #5684 Superseder bpo-37424: subprocess.run timeout does not function if shell=True and capture_output=True Files timeout_examples.tgz: Python 2.7 and Python 3 examples recreating the issue Note: ...
Open Graph Description: BPO 32795 Nosy @eryksun, @fangyi-zhou PRs #5684 Superseder bpo-37424: subprocess.run timeout does not function if shell=True and capture_output=True Files timeout_examples.tgz: Python 2.7 and Pytho...
X Description: BPO 32795 Nosy @eryksun, @fangyi-zhou PRs #5684 Superseder bpo-37424: subprocess.run timeout does not function if shell=True and capture_output=True Files timeout_examples.tgz: Python 2.7 and Pytho...
Opengraph URL: https://github.com/python/cpython/issues/76976
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"subprocess.check_output() with timeout does not exit if child process does not generate output after timeout","articleBody":"BPO | [32795](https://bugs.python.org/issue32795)\n--- | :---\nNosy | @eryksun, @fangyi-zhou\nPRs | \u003cli\u003epython/cpython#5684\u003c/li\u003e\nSuperseder | \u003cli\u003ebpo-37424: subprocess.run timeout does not function if shell=True and capture_output=True\u003c/li\u003e\nFiles | \u003cli\u003e[timeout_examples.tgz](https://bugs.python.org/file47429/timeout_examples.tgz \"Uploaded as application/x-compressed-tar at 2018-02-08.09:11:06 by Mike Lewis\"): Python 2.7 and Python 3 examples recreating the issue\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2021-02-27.19:32:06.090\u003e\ncreated_at = \u003cDate 2018-02-08.09:11:07.043\u003e\nlabels = ['type-bug', 'library']\ntitle = 'subprocess.check_output() with timeout does not exit if child process does not generate output after timeout'\nupdated_at = \u003cDate 2021-02-27.19:32:06.090\u003e\nuser = 'https://bugs.python.org/MikeLewis'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2021-02-27.19:32:06.090\u003e\nactor = 'eryksun'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2021-02-27.19:32:06.090\u003e\ncloser = 'eryksun'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2018-02-08.09:11:07.043\u003e\ncreator = 'Mike Lewis'\ndependencies = []\nfiles = ['47429']\nhgrepos = []\nissue_num = 32795\nkeywords = ['patch']\nmessage_count = 7.0\nmessages = ['311820', '311821', '312117', '312135', '312172', '312175', '387784']\nnosy_count = 3.0\nnosy_names = ['eryksun', 'Mike Lewis', 'fangyizhou']\npr_nums = ['5684']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = '37424'\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue32795'\nversions = ['Python 2.7', 'Python 3.5']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/MikeLewis","@type":"Person","name":"MikeLewis"},"datePublished":"2018-02-08T09:11:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/76976/cpython/issues/76976"}
| 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:f3de48d4-6842-8d4d-feda-825237ce951d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D558:305538:50CFFA:6B3531:6A53E96C |
| html-safe-nonce | 04a1f4bd6246f37b01b8d27dd876264f8a5ebc3c27a63cd61326e0583cce0b22 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTU4OjMwNTUzODo1MENGRkE6NkIzNTMxOjZBNTNFOTZDIiwidmlzaXRvcl9pZCI6IjQ3MDkzNjc2NzI2MDQ5Nzc1MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4748d07419b29ebf7c53b7548e1f9f796300d6f6d4939b2ef6b321dbd0f7338b |
| hovercard-subject-tag | issue:1198987223 |
| 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/python/cpython/76976/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5f34c300d5638adbe41598e41140e6f01a6dec545092998f7da2ad4a9dae3301/python/cpython/issues/76976 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5f34c300d5638adbe41598e41140e6f01a6dec545092998f7da2ad4a9dae3301/python/cpython/issues/76976 |
| og:image:alt | BPO 32795 Nosy @eryksun, @fangyi-zhou PRs #5684 Superseder bpo-37424: subprocess.run timeout does not function if shell=True and capture_output=True Files timeout_examples.tgz: Python 2.7 and Pytho... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MikeLewis |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width