subprocess woes

Christian Heimes lists at cheimes.de
Tue Sep 15 23:04:41 CEST 2009


Mike Driscoll wrote:
> You can use cStringIO to create a "file-like" object in memory:
> 
> http://docs.python.org/library/stringio.html

No, you can't with subprocess. The underlying operating system API
requires a file descriptor of a real file.

Christian




More information about the Python-list mailing list