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

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Mon Nov 1 16:27:50 EST 2004


Author: tberman
Date: 2004-11-01 16:27:49 -0500 (Mon, 01 Nov 2004)
New Revision: 2014

Modified:
   trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingExecutionManager.cs.in
   trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog
Log:
fix execute script.


Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingExecutionManager.cs.in
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingExecutionManager.cs.in	2004-11-01 20:32:15 UTC (rev 2013)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingExecutionManager.cs.in	2004-11-01 21:27:49 UTC (rev 2014)
@@ -65,8 +65,11 @@
 			
 			ProcessStartInfo psi;
 			if (parameters.ExecuteScript != null && parameters.ExecuteScript.Length > 0) {
-				//Console.WriteLine("EXECUTE SCRIPT!!!!!!");
-				psi = new ProcessStartInfo("\"" + parameters.ExecuteScript + "\"");
+				string additionalCommands = "";
+				if (parameters.PauseConsoleOutput)
+					additionalCommands = @"echo; read -p 'press any key to continue...' -n1;";
+				psi = new ProcessStartInfo("xterm",
+					String.Format (@"-e ""cd {3} ; '{0}' {1} ; {2}""", parameters.ExecuteScript, args, additionalCommands, project.BaseDirectory));
 				psi.UseShellExecute = false;
 			} else {
 				string runtimeStarter = "mono --debug ";

Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog	2004-11-01 20:32:15 UTC (rev 2013)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog	2004-11-01 21:27:49 UTC (rev 2014)
@@ -1,3 +1,8 @@
+2004-11-01  Todd Berman  <tberman at off.net>
+
+	* CSharpBindingExecutionManager.cs.in: Add fu to actually properly run
+	the execute script.
+
 2004-09-25  Peter Johanson <latexer at gentoo.org>
 
 	* CSharpBindingCompilerManager.cs: Hack to a hack to fix compilation




More information about the Monodevelop-patches-list mailing list