When using Process.GetProcesses() on macOS in dotnet core it returns process names as strings max 15 chars. It truncates the process names to be 15 char long.
Configuration
dotnet --info
.NET SDK (reflecting any global.json):
Version: 5.0.203
Commit: 383637d63f
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.15
OS Platform: Darwin
RID: osx.10.15-x64
Base Path: /usr/local/share/dotnet/sdk/5.0.203/
Host (useful for support):
Version: 5.0.6
Commit: 478b2f8