-
Notifications
You must be signed in to change notification settings - Fork 376
dotnet-stack should filter out its immediate parent dotnet
process if any
#2977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
hmm, that's odd - we filter that out diagnostics/src/Tools/Common/Commands/ProcessStatus.cs Lines 131 to 133 in d138bcf
What version are you using? |
Sorry, I should have mentioned this is current 6.0 one. But the lines above seem like they should be in there - hmm
and on another machine
|
Hmm, I verified it is using this one which per ILSPY contains that code. |
Ah, I see the bug. It works if I do "dotnet-stack ps". If I do "dotnet stack ps" it filters out "dotnet-stack.exe" but isn't aware of its parent dotnet.exe. It needs to find that and filter it. It needs a little pinvoking and checking the process start time as there's no managed API currently: dotnet/runtime#24423 |
dotnet
process if any
Makes sense. When we do this we just need to make sure this is filtering just dotnet stack invocation and not any managed invocation of the native dll. |
The text was updated successfully, but these errors were encountered: