-
Notifications
You must be signed in to change notification settings - Fork 389
dotnet.exe should not appear in "dotnet counters list-processes" #372
Copy link
Copy link
Open
Labels
Milestone
Description
After installing dotnet-counters Preview 6, two different outputs are generated when "dotnet counters list-processes" and "dotnet-counters list-processes" are executed.

When using the "dotnet counters" syntax, dotnet.exe seems to spawn the C:\Users<user>.dotnet\tools\dotnet-counters.exe application.
Since dotnet.exe exposes its own \.\pipe\dotnetcore-diagnostic- named pipe, it appears in the list (based on https://github.com/dotnet/diagnostics/blob/master/src/Microsoft.Diagnostics.Tools.RuntimeClient/Eventing/EventPipeClient.cs#L35).
However, I don't see any filtering out of the current process so I can't explain why dotnet-counters.exe does not appear when it runs...
Reactions are currently unavailable