%u: > D>echo hello | wordcount2.exe < wordcount2.d > 0 hello > std.stdio.StdioException at std\stdio.d(2156): Bad file descriptor Try: wordcount2.exe < wordcount2.d Bye, bearophile