Text of bugs.python.org › issue47222 as Styx crawled it on Nov 18, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

Issue 47222: subprocess.Popen() should allow capturing output and sending it to stdout and stderr - Python tracker

Python Home About News Documentation Downloads Community Foundation Developer's Guide Issue Tracker Issues Search Random Issue Summaries Issues with patch Easy issues Stats User Administration User List Committer List Help Tracker Documentation Tracker Development Report Tracker Problem Issue47222 ➜ This issue tracker has been migrated to GitHub , and is currently read-only . For more information, see the GitHub FAQs in the Python's Developer Guide.

Created on 2022-04-04 22:52 by pprindeville , last changed 2022-04-11 14:59 by admin . Pull Requests URL Status Linked Edit PR 32344 open pprindeville , 2022-04-05 21:08 Messages (1) msg416703 - (view) Author: Philip Prindeville (pprindeville) * Date: 2022-04-04 22:52 I'd like to see handlers exposes for the stdout and stderr pipe-reading threads so that I could customize what's done with the data as it's read. I might, for instance, want to: (1) accumulate it into a buffer; (2) copy it onto sys.stdout or sys.stderr, respectively; (3) send it to a logging object; or some combination of the above, possibly all of them.

History Date User Action Args 2022-04-11 14:59:58 admin set github: 91378 2022-04-05 21:08:52 pprindeville set keywords: + patch stage: patch review pull_requests: + pull_request30398 2022-04-05 01:49:10 ned.deily set nosy: + gregory.p.smith 2022-04-04 22:52:49 pprindeville create Supported by The Python Software Foundation , Powered by Roundup Copyright © 1990-2022, Python Software Foundation Legal Statements