-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Description
Description
On a non-Windows platform, while a runtime instance is suspended, issuing the GetProcessInfo command on the diagnostic pipe will only return the process name for the command line field. None of the command line parameters are provided.
Configuration
All non-Windows platforms, both .NET 5 and .NET 6.
Regression?
No, my understanding is that during suspension on non-Windows platforms, this field never provided the full command line.
Other information
During suspension, the command line field in the GetProcessInfo response will be something like:
/__w/1/s/.dotnet/dotnet
If the GetProcessInfo command is issued immediately after resuming the runtime, the same data is reported (only the process name).
If the GetProcessInfo command is issued sometime after the runtime is resumed and has run for a bit, then it returns the proper command line, e.g.:
/__w/1/s/.dotnet/dotnet /__w/1/s/artifacts/bin/Microsoft.Diagnostics.Monitoring.UnitTestApp/Release/net5.0/Microsoft.Diagnostics.Monitoring.UnitTestApp.dll AsyncWait
cc @josalem