Home | Trees | Indices | Help |
|
---|
|
object --+ | subprocess.Popen --+ | Pipe
Specialized pipe class for use by executeCommand
.
The executeCommand function needs a specialized way of
interacting with a pipe. First, executeCommand
only reads
from the pipe, and never writes to it. Second,
executeCommand
needs a way to discard all output written to
stderr
, as a means of simulating the shell
2>/dev/null
construct.
subprocess.Popen
class, so when that class is available,
we'll use it. Otherwise, there's another implementation based on
popen2.Popen4
, which unfortunately only works on UNIX
platforms.
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Sat Nov 15 12:17:02 2008 | http://epydoc.sourceforge.net |