https://issues.dlang.org/show_bug.cgi?id=12990 --- Comment #7 from Sobirari Muhomori <dfj1esp02 at sneakemail.com> --- An empty array means no input rather than no output. Did it wait for the input? Do you compile it for console or GUI subsystem? echo 000 | yourprogram.exe Does this work? --