On 10.10.2011 21:38, bearophile wrote:
%u:

D>echo hello | wordcount2.exe<  wordcount2.d
0       hello
std.stdio.StdioException@std\stdio.d(2156): Bad file descriptor

Try:

wordcount2.exe<  wordcount2.d

Bye,
bearophile

Shouldn't the original way work too?

Another point: I recommend compiling with debug symbols as it gives you a nice stacktrace.

Reply via email to