We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8de63a commit 60c786bCopy full SHA for 60c786b
test/Datadog.Trace.TestHelpers/ProfilerHelper.cs
@@ -1,6 +1,5 @@
1
using System;
2
using System.Collections.Generic;
3
-using System.Collections.Specialized;
4
using System.Diagnostics;
5
using System.IO;
6
@@ -38,7 +37,7 @@ public static Process StartProcessWithProfiler(
38
37
{
39
// .NET Core
40
startInfo = new ProcessStartInfo(DotNetCoreExecutable, $"{applicationPath} {arguments ?? string.Empty}");
41
- environmentHelper.SetEnvironmentVariableDefaults(traceAgentPort, applicationPath, startInfo.EnvironmentVariables);
+ environmentHelper.SetEnvironmentVariableDefaults(traceAgentPort, DotNetCoreExecutable, startInfo.EnvironmentVariables);
42
}
43
else
44
0 commit comments