fn display_name(name: &str) -> &str
An executable’s name as a person calls it: pwsh, not pwsh.exe.
pwsh
pwsh.exe