Tango I/O bug?

kris foo at bar.com
Wed Sep 19 19:32:13 PDT 2007


Jason House wrote:

> 
> If I understand things correctly, Urban does see program output once the 
> program exits...  He just doesn't see any while it's running.  When I 
> look at Hello.d, it looks like it prints and then exits... potentially 
> hiding this particular problem.


Well, the code does exactly the same thing when running or exiting. All 
the happens at exit is a flush() call on Stdout, just in case the user 
hadn't done one already (courtesy of Frits).

This, Any flush() should operate just fine. If the example had done 
nothing, it would have been more suspicious


More information about the Digitalmars-d-learn mailing list