Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions GoogleTestAdapter/Core/Helpers/ProcessExecutor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System;
// This file has been modified by Microsoft on 8/2017.

using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
Expand Down Expand Up @@ -171,13 +173,12 @@ private static PROCESS_INFORMATION CreateProcess(string command, string paramete
}
};

string commandLine = command;
string commandLine = $"\"{command}\"";
if (!string.IsNullOrEmpty(parameters))
commandLine += $" {parameters}";
if (string.IsNullOrEmpty(workingDir))
workingDir = null;


PROCESS_INFORMATION processInfo;
// ReSharper disable ArgumentsStyleNamedExpression
// ReSharper disable ArgumentsStyleLiteral
Expand Down