About popen2

Neil Schemenauer nas at python.ca
Fri Oct 19 11:12:30 EDT 2001


NM - Remove LALALALALA to email me wrote:
> Am I right to assume that, unlike C's popen, popen2's "command" argument does
> not get passed through the shell? 
> 
> If I am, is there a way to pass arguments?

Something like this:

    popen2.popen2(("ls", "-l", "/"))
    
Reading the source code is a useful exercise.

  Neil




More information about the Python-list mailing list