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:
authorLluis Sanchez Gual <lluis@xamarin.com>2015-04-27 14:25:49 +0300
committerLluis Sanchez Gual <lluis@xamarin.com>2015-04-27 14:25:49 +0300
commited453e0097698c28a02b4bd6ecf2bb03672a2911 (patch)
tree2f0b46cabd8c3a7c576a488565ce6e0ab3286f7c /main/src/addins/MonoDevelop.Debugger.Soft
parente662134048bbee039f9b8f99f181c4bf5ee35952 (diff)
IConsole revamp
Converted IConsole into the OperationConsole class. ConsoleFactory is also now a class. When creating a console, a cancellation token can be provided.
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger.Soft')
-rw-r--r--main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/CustomSoftDebuggerEngine.cs3
-rw-r--r--main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerEngine.cs2
2 files changed, 2 insertions, 3 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/CustomSoftDebuggerEngine.cs b/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/CustomSoftDebuggerEngine.cs
index 129f1d771d..c5f37354a0 100644
--- a/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/CustomSoftDebuggerEngine.cs
+++ b/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/CustomSoftDebuggerEngine.cs
@@ -133,8 +133,7 @@ namespace MonoDevelop.Debugger.Soft
usingExternalConsole = true;
var console = ExternalConsoleFactory.Instance.CreateConsole (info.CloseExternalConsoleOnExit);
process = Runtime.ProcessService.StartConsoleProcess (
- info.Command, info.Arguments, info.WorkingDirectory, info.EnvironmentVariables,
- console, null);
+ info.Command, info.Arguments, info.WorkingDirectory, console, info.EnvironmentVariables);
} else {
var psi = new ProcessStartInfo (info.Command, info.Arguments) {
WorkingDirectory = info.WorkingDirectory,
diff --git a/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerEngine.cs b/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerEngine.cs
index cdd1f0d2d6..4e4228a49d 100644
--- a/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerEngine.cs
+++ b/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerEngine.cs
@@ -88,7 +88,7 @@ namespace MonoDevelop.Debugger.Soft
startArgs.ExternalConsoleLauncher = delegate (System.Diagnostics.ProcessStartInfo info) {
ProcessAsyncOperation oper;
oper = Runtime.ProcessService.StartConsoleProcess (info.FileName, info.Arguments, info.WorkingDirectory,
- varsCopy, ExternalConsoleFactory.Instance.CreateConsole (dsi.CloseExternalConsoleOnExit), null);
+ ExternalConsoleFactory.Instance.CreateConsole (dsi.CloseExternalConsoleOnExit), varsCopy);
return new ProcessAdapter (oper, Path.GetFileName (info.FileName));
};