[python-win32] win32pipe and buffer size
Frank Guenther
xeoicq at netscape.net
Mon Jul 11 17:41:24 CEST 2005
Hi All,
I try to automate a command line tool and have the problem that I can't
read the stdout-pipe.
I think the reason is the tool doesn't flush the pipe so it is first
readable when the process was closed.
Can I set the buffer size of the stdout-pipe by win32pipe to force the
tool to write to the pipe?
Is there a possibility to use win32file to get a low-level access to the
pipes or some other solution to the problem?
I would be thankful for some hints and example code.
Has someone experiences with 'Excpect'-tools like ExcpectNT or Excpect
from ActiveState? Could this be an easy solution for my problem?
Ciao,
Frank
More information about the Python-win32
mailing list