classification
Title: Make subprocess.Popen support file-like objects (win)
Type: enhancement Stage: test needed
Components: Library (Lib) Versions: Python 3.2
process
Status: open Resolution:
Dependencies: subprocess: more general (non-buffering) communication
View: 1260171
Superseder:
Assigned To: astrand Nosy List: astrand, ianbicking, nidoizo
Priority: normal Keywords: patch

Created on 2005-04-03 20:46 by nidoizo, last changed 2010-08-21 12:51 by BreamoreBoy.

Files
File name Uploaded Description Edit
patch.txt nidoizo, 2005-04-03 20:46 Patch for subversion.py
Messages (2)
msg48143 - (view) Author: Nicolas Fleury (nidoizo) Date: 2005-04-03 20:46
This patch make subprocess.Popen support file-like
objects without fileno for stdout and stderr on Windows
(intend to do Unix once patch accepted).  It makes
subprocess.Popen able to redirect stdout and stderr to
objects like StringIO or other objects with file
objects interface.
msg48144 - (view) Author: Ian Bicking (ianbicking) * Date: 2005-08-15 20:52
Logged In: YES 
user_id=210337

Bug/feature request 1260171 addresses the same basic issue,
but with the idea of a method like Popen.communicate() that
writes and reads directly to/from file-like objects, instead
of reading and returning strings.
http://sourceforge.net/tracker/index.php?func=detail&aid=1260171&group_id=5470&atid=105470

But having submitted that other request, I have no real
opinion of one technique over the other, except that one of
them would be really nice to have.
History
Date User Action Args
2010-08-21 12:51:58BreamoreBoysetversions: + Python 3.2, - Python 2.7
2009-02-15 22:15:42ajaksu2setdependencies: + subprocess: more general (non-buffering) communication
type: enhancement
stage: test needed
versions: + Python 2.7, - Python 2.4
2005-04-03 20:46:30nidoizocreate