About popen2

NM - Remove LALALALALA to email me nicoLALALALALA at altiva.fr
Fri Oct 19 13:26:45 EDT 2001


On Fri, 19 Oct 2001 17:12:30 +0200, Neil Schemenauer wrote:

> 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", "/"))

Thanks. It's surprising it's not mentioned in the doc.

> Reading the source code is a useful exercise.
> 
>   Neil

I'm not very familiar with Python ATM, currently getting up to speed
trying to fix an existing program.



More information about the Python-list mailing list