https://issues.dlang.org/show_bug.cgi?id=17797
Martin Nowak <c...@dawg.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |c...@dawg.eu Hardware|All |x86 --- Comment #3 from Martin Nowak <c...@dawg.eu> --- cat > bug.d << CODE import std.stdio, core.thread; void main() { auto thread = new Thread(&func).start; writeln("Output"); writeln("Output2"); writeln("Output3"); thread.join(); } void func() { foreach (line; stdin.byLineCopy) { } } CODE dmd -run bug.d ---- Slightly nicer version that terminates on EOF (Ctrl+D), works as expected on linux. Sure about 2.073.2? The only interesting change in https://github.com/dlang/dmd/compare/v2.073.1...v2.073.2 https://github.com/dlang/druntime/compare/v2.073.1...v2.073.2 https://github.com/dlang/phobos/compare/v2.073.1...v2.073.2 is https://github.com/dlang/dmd/pull/6582. --