Re: how to flush child_stdin

2008-02-25 Thread Gabriel Genellina
En Fri, 22 Feb 2008 17:53:55 -0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> escribió: > On Feb 22, 2:01 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: >> On Fri, 22 Feb 2008 08:35:03 -0800 (PST), "[EMAIL PROTECTED]" >> <[EMAIL PROTECTED]> declaimed the following in comp.lang.python: >> >> > I don

Re: how to flush child_stdin

2008-02-22 Thread [EMAIL PROTECTED]
On Feb 22, 2:01 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Fri, 22 Feb 2008 08:35:03 -0800 (PST), "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> declaimed the following in comp.lang.python: > > > I don't think that is the problem, I'm feeding it newline characters. > > It wasn't shown

Re: how to flush child_stdin

2008-02-22 Thread [EMAIL PROTECTED]
On Feb 22, 12:15 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Thu, 21 Feb 2008 12:34:28 -0800 (PST), "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> declaimed the following in comp.lang.python: > > > > > I'm opening up a subprocess like this where slave.py is a text based > > app that receives c

how to flush child_stdin

2008-02-21 Thread [EMAIL PROTECTED]
I'm opening up a subprocess like this where slave.py is a text based app that receives commands and responds with output: r, w, e = popen2.popen3('python slave.py') I need to send slave.py a command and see the output, so I'll do something like: w.write("command here") then i'll try this: w.flus