[Monodevelop-patches-list] r1208 - in trunk/MonoDevelop/src: AddIns/BackendBindings/CSharpBinding Libraries/MonoDevelop.Core/AddIns Main/Base/Commands Main/Base/Gui/CompletionDatabaseWizard
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Sat Mar 20 20:12:28 EST 2004
Author: tberman
Date: 2004-03-20 20:12:28 -0500 (Sat, 20 Mar 2004)
New Revision: 1208
Modified:
trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs
trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingExecutionManager.cs
trunk/MonoDevelop/src/Libraries/MonoDevelop.Core/AddIns/AddInTreeSingleton.cs
trunk/MonoDevelop/src/Main/Base/Commands/MenuItemBuilders.cs
trunk/MonoDevelop/src/Main/Base/Gui/CompletionDatabaseWizard/GenerateDatabase.cs
Log:
remove C.WL
fix all the process.start's that did UseShellExecute = false;
now we work a *lot* better under the latest mono release
Modified: trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs 2004-03-21 00:57:47 UTC (rev 1207)
+++ trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs 2004-03-21 01:12:28 UTC (rev 1208)
@@ -331,6 +331,7 @@
ProcessStartInfo si = new ProcessStartInfo("/bin/sh -c \"" + command + "\"");
si.RedirectStandardOutput = true;
si.RedirectStandardError = true;
+ si.UseShellExecute = false;
Process p = new Process();
p.StartInfo = si;
p.Start();
Modified: trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingExecutionManager.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingExecutionManager.cs 2004-03-21 00:57:47 UTC (rev 1207)
+++ trunk/MonoDevelop/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingExecutionManager.cs 2004-03-21 01:12:28 UTC (rev 1208)
@@ -66,6 +66,7 @@
if (parameters.ExecuteScript != null && parameters.ExecuteScript.Length > 0) {
//Console.WriteLine("EXECUTE SCRIPT!!!!!!");
psi = new ProcessStartInfo("\"" + parameters.ExecuteScript + "\"");
+ psi.UseShellExecute = false;
} else {
string runtimeStarter = "mono ";
@@ -83,8 +84,10 @@
string.Format (
@"-x bash -c ""{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;
}
}
Modified: trunk/MonoDevelop/src/Libraries/MonoDevelop.Core/AddIns/AddInTreeSingleton.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/MonoDevelop.Core/AddIns/AddInTreeSingleton.cs 2004-03-21 00:57:47 UTC (rev 1207)
+++ trunk/MonoDevelop/src/Libraries/MonoDevelop.Core/AddIns/AddInTreeSingleton.cs 2004-03-21 01:12:28 UTC (rev 1208)
@@ -86,7 +86,6 @@
if (ignoreDefaultCoreDirectory == false) {
addInFiles = fileUtilityService.SearchDirectory(defaultCoreDirectory, "*.addin");
- foreach (string i in addInFiles) { Console.WriteLine (i); }
retryList = InsertAddIns(addInFiles);
}
else
Modified: trunk/MonoDevelop/src/Main/Base/Commands/MenuItemBuilders.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Commands/MenuItemBuilders.cs 2004-03-21 00:57:47 UTC (rev 1207)
+++ trunk/MonoDevelop/src/Main/Base/Commands/MenuItemBuilders.cs 2004-03-21 01:12:28 UTC (rev 1208)
@@ -165,6 +165,7 @@
} else {
startinfo = new ProcessStartInfo(command, args);
}
+ startinfo.UseShellExecute = false;
startinfo.WorkingDirectory = stringParserService.Parse(tool.InitialDirectory);
Modified: trunk/MonoDevelop/src/Main/Base/Gui/CompletionDatabaseWizard/GenerateDatabase.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/CompletionDatabaseWizard/GenerateDatabase.cs 2004-03-21 00:57:47 UTC (rev 1207)
+++ trunk/MonoDevelop/src/Main/Base/Gui/CompletionDatabaseWizard/GenerateDatabase.cs 2004-03-21 01:12:28 UTC (rev 1208)
@@ -121,6 +121,7 @@
Console.WriteLine ("******************************************************************************");
// not everyone can run .exe's directly
System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo ("mono", "MonoDevelop.exe");
+ psi.UseShellExecute = false;
System.Diagnostics.Process.Start (psi);
Gtk.Application.Quit ();
More information about the Monodevelop-patches-list
mailing list