Handle exception thrown by ProcessName during ProcessEx timeout (#23990)
Handle exception thrown by ProcessName during ProcessEx timeout (#23990)

* Handle exception thrown by ProcessName during ProcessEx timeout

* Update src/Shared/Process/ProcessEx.cs

Co-authored-by: Brennan <7d5944d843db024d954983f0eccaa5b8890be4de@microsoft.com>

* PR feedback

Co-authored-by: Brennan <7d5944d843db024d954983f0eccaa5b8890be4de@microsoft.com>
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore