Trees | Indices | Help |
|
---|
|
object --+ | subprocess.Popen --+ | PopenWithInput
Popen class that knows its input. 1. Set up the instance, including all the input it shoould receive. 2. Call :meth:`PopenWithInput.communicate` later. .. Note:: Some versions of python have a bug in the subprocess module ( `issue 5179`_ ) which does not clean up open file descriptors. Eventually code (such as this one) fails with the error: *OSError: [Errno 24] Too many open files* A weak workaround is to increase the available number of open file descriptors with ``ulimit -n 2048`` and run analysis in different scripts. .. _issue 5179: http://bugs.python.org/issue5179
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
Initialize with the standard :class:`subprocess.Popen` arguments. :Keywords: *input* string that is piped into the command
|
|
str(x)
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jun 12 15:59:36 2010 | http://epydoc.sourceforge.net |