> Why don't you use the subprocess module?
I have tried subprocess module and got the same problem
--
http://mail.python.org/mailman/listinfo/python-list
Em Sex, 2006-03-10 às 04:49 -0800, [EMAIL PROTECTED] escreveu:
> Hi. I have such problem with os.popen2 function:
Why don't you use the subprocess module? See
http://docs.python.org/lib/module-subprocess.html
--
"Quem excele em empregar a força militar subjulga os exércitos dos
outros povos sem
Hi. I have such problem with os.popen2 function:
//test.py file
#!/usr/local/bin/python
print "start"
x= raw_input()
print "end"
//main.py file
#!/usr/local/bin/python
import os
i,o = os.popen2('./tester.py')
print o.readline()
i.write("hi")
print o.readline()
i.close()
o.close()
W