Bidirectional communication through pipes: read/write popen()

Hrvoje Niksic hniksic at srce.hr
Sun Oct 17 13:14:13 EDT 1999


"Fredrik Lundh" <fredrik at pythonware.com> writes:

> but to make the code a bit more flexible, I'd change
> the execvp call to:
> 
> os.execvp(command, (command,) + tuple(args))
[...]
> (this allows the caller to use *any* kind of sequence, not just a
> list).

Thanks for the suggestion; I've now made that change.




More information about the Python-list mailing list