> I am trying to supply input to another program using > pipes. I can read from it just fine, but writing to > its stdin doesn't seem to be working.
I'm guessing here so take with a pinch of salt... > cmd = "listen.py" > > #stdout, stdin > r, w = popen2(cmd) > > w.write("Message sent") I think you need a newline on the end otherwise raw_input will not see it. HTH, Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor