Problems using STDIN

BlitzMax Forums/BlitzMax Programming/Problems using STDIN

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

I have compiled the code below into STDINTEST.EXE, and when I try to Pipe anything through it, it just siezes up. Any idea where I am going wrong?

Test it from a command line like this:
C:\Blitz\stdin> Echo Hello | stdintest.exe

*****
WARNING: This code will hang.
Run it in a command window, and you may beed to terminate the process manually
*****

Framework BRL.StandardIO

Print "POS=" + StandardIOStream.Pos()
Print "IO=" + StandardIOStream.Size()
Print "EOF=" + Eof(StandardIOStream)

While Not Eof(StandardIOStream)
Print "=='" + ReadStdin() + "'=="
Wend

Print "STDIN done"