Anybody can help on this?
husam
h.jehadalwan at student.kun.nl
Fri Feb 22 09:26:34 EST 2002
Jeff,
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")
>>> passin.read()
# Here it hangs, the only way to stop it is by pressing: ctrl+c
Traceback (most recent call last):
File "<stdin>", line 1, in ?
KeyboardInterrupt
More information about the Python-list
mailing list