Reading stdin in Windows 7

Joel Christensen joelcnz at gmail.com
Thu Sep 2 02:12:54 PDT 2010


On 01-Sep-10 12:54 PM, Andrej Mitrovic wrote:
> Oooops, I meant:
>
> std.stdio.StdioException: Bad file descriptor
> type test.d | test.exe
>
> works, but waits on exit:
> test.exe | type test.d
>
> works fine:
> test.exe<  test.d
>
I think I get the same as you. Have to put Ctrl+C (or some thing) to get 
out, for 'test.exe | type test.d'

I recon I can use 'test.exe < test.d' sort of thing, any how. It'd 
complement 'test.exe > test.txt' (which I have knowen and do use some 
times).


More information about the Digitalmars-d-learn mailing list