microsoft / MSIX-PackageSupportFramework

The Package Support Framework (PSF) is a kit for applying compatibility fixes to packaged desktop applications.
MIT License
114 stars 57 forks source link

Don't throw error to user when shell launch returns non-zero, just lo… #158

Closed TimMangan closed 4 years ago

TimMangan commented 4 years ago

Make a change to PsfLauncher when processing a shell launch. Previously, if the launched file process returned with a non-zero return, an error dialog would be thrown to the user.

Not all non-zero returns are errors, and even if they are we should assume that the process already notified the user if relevant. Code not logs the error for debugging purposes instead.

This PR will resolve this issue: https://github.com/microsoft/MSIX-PackageSupportFramework/issues/156