popen2 trouble

Diez B. Roggisch deetsNOSPAM at web.de
Mon Apr 5 08:05:59 EDT 2004


> Try using the 'bufsize' optional argument in the call to popen2.  Set it
> to 0 to disable all buffering, if you are writing in large chunks (e.g.
> calling inn.write(bigstring)).

That didn't work - now I'm using pexpect, which simulates a tty.

-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list