Pipes of binaries - IPC::Run

Peter Hansen peter at engcorp.com
Wed May 11 09:46:26 EDT 2005


Swaroop C H wrote:
> Is there a Python equivalent of Perl's IPC::Run module [
> http://search.cpan.org/dist/IPC-Run/lib/IPC/Run.pm ] ?

I don't know Perl, and don't plan to read all of that page you 
referenced, but judging from the subject line and the half-sentence 
description near the top of that page, you are looking for:

os.system
os.popen
popen2 (module)
subprocess (module, in 2.4)

Read about each and, preferring subprocess (as the most recent), try 
them out for yourself.

-Peter



More information about the Python-list mailing list