177
182
public ProcessWrapper StartConsoleProcess (string command, string arguments, string workingDirectory, IDictionary<string, string> environmentVariables, IConsole console, EventHandler exited)
179
184
if (console == null || (console is ExternalConsole)) {
186
arguments.Replace ("\\", "\\\\").Replace ("\"", "\\\""),
185
ProcessStartInfo psi = ExternalConsoleLocator.GetConsoleProcess (command, arguments, workingDirectory,
199
188
if (environmentVariables != null)
200
189
foreach (KeyValuePair<string, string> kvp in environmentVariables)
201
190
psi.EnvironmentVariables [kvp.Key] = kvp.Value;