The Channel class / base.Channel methods |
Opening a pipe channel to a sub-process.
openPipe( cmd STRING, mode STRING )
With the openPipe() method, you can read from the standard output of a subprocess, write to the standard input, or both.
The opening mode can be one of the following:
The method raises error -8084 if the channel cannot be opened.
CALL ch.openPipe( "ls", "r" )