[Python-Dev] A better popen2
Paul.Moore at atosorigin.com
Fri Jun 25 04:44:31 EDT 2004
From: P at draigBrady.com
> I've written a couple of apps that required
> running a command and grabbing the output,
> and I've found the existing interfaces problematic for this.
You're not the only one who has found this. Have a look at PEP 324.
> Therefore I bit the bullet and wrote my own,
> with as simple an interface as I thought possible:
> Perhaps this could be included in commands.py for e.g.?
As it stands, this looks like it is Unix-only, which would probably
be an issue for a standard library function.
This e-mail and the documents attached are confidential and intended
solely for the addressee; it may also be privileged. If you receive this
e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin group
liability cannot be triggered for the message content. Although the
sender endeavours to maintain a computer virus-free network, the sender
does not warrant that this transmission is virus-free and will not be
liable for any damages resulting from any virus transmitted.
More information about the Python-Dev