This sounds to me as if you are Suffering From Buffering, possibly connected with a bad use of the .Peek() method. I presume that the .Peek() method will return a false value whenver no data is available from the filehandle, that is, whenever you are reading too fast from your child. I don't see any mention of the .Peek() method in the System.Diagnostics.Process.Standardoutput Documentation, but it also mentions the buffering issues you're likely to encounter.
In reply to Re: Connecting Perl's STDIN and STDOUT to .Net StreamReader
by Corion
in thread Connecting Perl's STDIN and STDOUT to .Net StreamReader
by bsdz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |