Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue47222

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:subprocess.Popen() should allow capturing output and sending it to stdout and stderr
Type:enhancementStage:patch review
Components:Library (Lib)Versions:Python 3.11
process
Status:openResolution:
Dependencies:Superseder:
Assigned To:Nosy List: gregory.p.smith, pprindeville
Priority:normalKeywords:patch

Created on2022-04-04 22:52 bypprindeville, last changed2022-04-11 14:59 byadmin.

Pull Requests
URLStatusLinkedEdit
PR 32344openpprindeville,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
DateUserActionArgs
2022-04-11 14:59:58adminsetgithub: 91378
2022-04-05 21:08:52pprindevillesetkeywords: +patch
stage: patch review
pull_requests: +pull_request30398
2022-04-05 01:49:10ned.deilysetnosy: +gregory.p.smith
2022-04-04 22:52:49pprindevillecreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp