[issue1631] Send output from subprocess.Popen objects to any object with a write() method

2007-12-18 Thread Guido van Rossum
Changes by Guido van Rossum: -- status: pending - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1631 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1631] Send output from subprocess.Popen objects to any object with a write() method

2007-12-14 Thread Nishkar Grover
New submission from Nishkar Grover: It would be nice if we could send output from subprocess.Popen objects to any object with a write() method. Consider the following example, where I'm using Python 2.4.4 (#1, Jun 28 2007, 15:10:17, GCC 3.4.3 on linux2)... fh = open('/tmp/file.txt', 'w')

[issue1631] Send output from subprocess.Popen objects to any object with a write() method

2007-12-14 Thread Christian Heimes
Christian Heimes added the comment: It's not going to be easy and there is also no point to implement the feature. The subprocess module requires either a real file or a PIPE. A real file is needed because the subprocess module uses some low level operation system functions for speed efficiency.