[Pythonmac-SIG] interaction with OS X commands

Bob Ippolito bob at redivi.com
Tue Oct 19 01:40:08 CEST 2004


On Oct 18, 2004, at 19:25, brad.allen at omsdal.com wrote:

>
> Bob Ippolito <bob at redivi.com> wrote on 10/18/2004 05:02:48 PM:
>
>> That is why I presented os.spawnv as a "worst case" alternative to the
>> subprocess module!  Please stop using popen, getCommandOutput, etc.
>> They all suck, use subprocess.
>
> Doesn't that require Python 2.4, or is it a separate module I can 
> import? I
> understand Python 2.4 is still in beta, so I'd have a lot of questions
> about deploying that in our production environment.

No it does not require Python 2.4.  If you look at PEP 291 it says that 
subprocess shall remain backwards compatible with Python 2.2.

-bob



More information about the Pythonmac-SIG mailing list