[Monodevelop-patches-list] r1958 - trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Mon Sep 20 21:32:34 EDT 2004


Author: tberman
Date: 2004-09-20 21:32:34 -0400 (Mon, 20 Sep 2004)
New Revision: 1958

Modified:
   trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingExecutionManager.cs.in
   trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog
Log:
patch to respect pause console output option, closes 62458


Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingExecutionManager.cs.in
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingExecutionManager.cs.in	2004-09-21 01:20:39 UTC (rev 1957)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingExecutionManager.cs.in	2004-09-21 01:32:34 UTC (rev 1958)
@@ -80,16 +80,15 @@
 						break;
 				}
 				
-				//if (parameters.CompileTarget != CompileTarget.WinExe && parameters.PauseConsoleOutput) {
-					psi = new ProcessStartInfo("xterm",
-						string.Format (
-						@"-e ""{0} '{1}{2}' {3} ; echo; read -p 'press any key to continue...' -n1""",
-						runtimeStarter, directory, exe, args));
-					psi.UseShellExecute = false;
-				//} else {
-				//	psi = new ProcessStartInfo(runtimeStarter, "\"" + directory + exe + "\" " + args);
-				//	psi.UseShellExecute = false;
-				//}
+				string additionalCommands = "";
+				if (parameters.PauseConsoleOutput)
+					additionalCommands = @"echo; read -p 'press any key to continue...' -n1;";
+
+				psi = new ProcessStartInfo("xterm",
+					string.Format (
+					@"-e ""{0} '{1}{2}' {3} ; {4}""",
+					runtimeStarter, directory, exe, args, additionalCommands));
+				psi.UseShellExecute = false;
 			}
 			
 			try {

Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog	2004-09-21 01:20:39 UTC (rev 1957)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog	2004-09-21 01:32:34 UTC (rev 1958)
@@ -1,3 +1,8 @@
+2004-09-20  Valters Svabe  <valters at inbox.lv>
+
+	* CSharpBindingExecutionManager.cs.in: Respect PauseConsoleOutput
+	option.
+
 2004-07-07  Lluis Sanchez Gual  <lluis at novell.com>
 
 	* Parser/Resolver.cs: When locating the inner or outer classes, get the 




More information about the Monodevelop-patches-list mailing list