in reply to Connecting Perl's STDIN and STDOUT to .Net StreamReader
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Connecting Perl's STDIN and STDOUT to .Net StreamReader
by bsdz (Friar) on Sep 03, 2008 at 11:45 UTC | |
by BrowserUk (Patriarch) on Sep 03, 2008 at 12:12 UTC | |
|
Re^2: Connecting Perl's STDIN and STDOUT to .Net StreamReader
by bsdz (Friar) on Sep 03, 2008 at 13:23 UTC |