[Mono-bugs] [Bug 81729][Nor] New - Console.Read(Line) doesn't block for winexe's

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu May 24 15:04:07 EDT 2007


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 rolfkvinge at ya.com.

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

--- shadow/81729	2007-05-24 15:04:07.000000000 -0400
+++ shadow/81729.tmp.7166	2007-05-24 15:04:07.000000000 -0400
@@ -0,0 +1,42 @@
+Bug#: 81729
+Product: Mono: Class Libraries
+Version: 1.0
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Core
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: rolfkvinge at ya.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Console.Read(Line) doesn't block for winexe's
+
+Repro:
+
+using System;
+using System.Windows.Forms;
+
+namespace SharpChess
+{
+	public class frmMain : System.Windows.Forms.Form
+	{
+		[STAThread]
+		static void Main() 
+		{
+			Console.ReadLine ();
+			Application.Run(new frmMain());
+		}
+	}
+}
+
+Reproduce: 
+gmcs frmMain.cs -r:System.Windows.Forms.dll -target:winexe
+mono frmMain.exe
+
+Result: no form shows up until Enter is pressed.
+Expected result:  the forms shows up anyways.


More information about the mono-bugs mailing list