[Mono-bugs] [Bug 74810][Nor] Changed - hang in Process.StandardOutput.ReadToEnd

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 5 May 2005 13:10:12 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by james@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=74810

--- shadow/74810	2005-05-05 11:23:57.000000000 -0400
+++ shadow/74810.tmp.28655	2005-05-05 13:10:12.000000000 -0400
@@ -62,6 +62,13 @@
 proc.WaitForExit ();
 proc.Close ();
 
 
 When I was seeing it hang, the output was around 316 bytes.  And yes,
 'df' exits when running from the command line.
+
+------- Additional Comments From james@ximian.com  2005-05-05 13:10 -------
+The code above was the stuff that was hanging.  Like I said, if I also
+redirect stderr and read that, the hang stops.  The reason I thought
+that would work was because the command was printing stuff to stderr
+and it wasn't coming out to the console until after a C-c.  After
+that, things were ok (the stdout was read, the process exited, etc).