MacOS adds a -psn_X_XXXXXX parameter to the command line
When you create a dmg and download this dmg from some unidentified source osx will ask you whether you really want to open the bundle. When you click on 'Open Anyway' the application will start but an unexpected parameter will be provided by osx -psn_X_XXXXXX then gapplication will abort with a similar error like:
stderr - Unknown option -psn_0_852176
It seems this is used by Carbon as a process id, the point is that we should probably do a first parsing and check if we have a parameter starting as -psn_ and skip this parameter if provided. Thoughts?