Anybody can help on this?

husam h.jehadalwan at
Fri Feb 22 15:26:34 CET 2002


the Popen2 module does not work. I'm trying to test it with these lines:

 >>> passout,passin=os.popen2("/home/husam/profit_1/profit")
  # Also tried  calling this with "popen2.popen2()" no go.

 >>> passout.write("reference /chemistry/pdb_files/Complex_1g.pdb\n")
 >>> passout.write("mobile    /chemistry/pdb_files/Complex_2g.pdb\n")
 >>> passout.write("fit\n")
# Here it hangs, the only way to stop it is by pressing: ctrl+c
Traceback (most recent call last):
   File "<stdin>", line 1, in ?

More information about the Python-list mailing list