[Issue 20215] redirected console app looks hang w/o .flush

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 16 09:30:33 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=20215

anonymous4 <dfj1esp02 at sneakemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from anonymous4 <dfj1esp02 at sneakemail.com> ---
>app looks halted at some middle point
It waits for input in readln, type text and press enter, the process will
continue execution. Buffering for file output is by design for better
performance, like for any file. You can adjust flushing settings with setvbuf
method.

--


More information about the Digitalmars-d-bugs mailing list