Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Ungureanu <marius.ungureanu@xamarin.com>2014-12-10 19:39:10 +0300
committerMarius Ungureanu <marius.ungureanu@xamarin.com>2014-12-10 19:39:10 +0300
commitb1d420ac925cc9cddfb5d3c4cc286e7a2b1c2184 (patch)
treeffbb7c1fe8bea23a4cc6b7c4eacdc1ecc4e5914b /main/src/addins/WindowsPlatform
parent7ee916d6eb8851d2d810659c40aa1ec668dd3b69 (diff)
[WindowsPlatform] Fixup in App launch.
The old code was incrementally adding arguments to the process argument builder on each iteration...
Diffstat (limited to 'main/src/addins/WindowsPlatform')
-rw-r--r--main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs b/main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs
index e67e8d99f7..434cb8c95b 100644
--- a/main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs
+++ b/main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs
@@ -410,11 +410,8 @@ namespace MonoDevelop.Platform
public override void Launch (params string[] files)
{
- var pab = new ProcessArgumentBuilder ();
- foreach (string file in files) {
- pab.AddQuoted (file);
- Process.Start (ExePath, pab.ToString ());
- }
+ foreach (string file in files)
+ Process.Start (ExePath, "\"" + file + "\"");
}
}
}