in reply to [UPDATED] How to autoflush streams (i.e. open3 calls)
Have you tried using the same handle for both STDOUT and STDERR?
Alternatively, if you're using win32, there is an system api to control the buffer size (local and remote) of pipes. You may be able to reduce the buffer size to 0 and so achieve some level of immediacy.
|
|---|