Issue 47222: subprocess.Popen() should allow capturing output and sending it to stdout and stderr
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 | |