popen()? popen2()

Fernando Armenta farmenta at pillardata.com
Thu Oct 16 18:36:24 CEST 2003

I need some help with popen().  I am calling a bash executable from a python program and it hangs; However if I run the bash program directly from the command line it works.  I don't know if has to do with popen() or should I use popen2().  I appreciate vey much any help that anyone can provide.
p = os.popen(extractDir2 + '/tdsextract -m ' + MGMT_IP +  SLAMMER_PATH , "w")
status = p.close()
        if status:
                  print "ERROR:

More information about the Python-list mailing list