diff --git a/test/Microsoft.TestPlatform.AcceptanceTests/TranslationLayerTests/CodeCoverageTests.cs b/test/Microsoft.TestPlatform.AcceptanceTests/TranslationLayerTests/CodeCoverageTests.cs index 21059e755c..aab70e6843 100644 --- a/test/Microsoft.TestPlatform.AcceptanceTests/TranslationLayerTests/CodeCoverageTests.cs +++ b/test/Microsoft.TestPlatform.AcceptanceTests/TranslationLayerTests/CodeCoverageTests.cs @@ -267,7 +267,8 @@ private XmlDocument GetXmlCoverage(AttachmentSet attachment) { FileName = GetCodeCoverageExePath(), Arguments = $"analyze /include_skipped_functions /include_skipped_modules /output:\"{output}\" \"{attachment.Attachments.First().Uri.LocalPath}\"", - RedirectStandardOutput = true + RedirectStandardOutput = true, + UseShellExecute = false }); string analysisOutput = analyze.StandardOutput.ReadToEnd();