> 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