diff options
author | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2014-12-10 19:39:10 +0300 |
---|---|---|
committer | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2014-12-10 19:39:10 +0300 |
commit | b1d420ac925cc9cddfb5d3c4cc286e7a2b1c2184 (patch) | |
tree | ffbb7c1fe8bea23a4cc6b7c4eacdc1ecc4e5914b /main/src/addins/WindowsPlatform | |
parent | 7ee916d6eb8851d2d810659c40aa1ec668dd3b69 (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.cs | 7 |
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 + "\""); } } } |