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 Wed Sep 19 22:08:50 2007 | http://epydoc.sourceforge.net |