[Mono-osx] Error with "psn" command line option for .app on OS X
stevenspencer01 at gmail.com
Tue Sep 21 08:26:51 EDT 2010
I have an intermittent problem. I have a mono application as a .app bundle on
Occasionally, double-clicking the .app has no effect. You see the icon
effect (the icon increases in size and fades out), but the application never
Looking in the Console, the line
Unknown command line option '-psn_0_548998'
appears for my application. This is what is seen on the command line if one
types "mono -psn_0_548998 appname". Typing "mono appname -psn_0_548998" has
no issues since the command line option gets passed through to my
It appears that the launchd app of the OS is adding this extra option and
passing it through to mono. Although, given that the problem is
intermittent, it does not do this every time. When the application works,
one can see, from doing a "ps agux", that my application does not have a
"-psn..." option on its command line whereas other running applications,
such as iTunes, do have the option.
After googling around for this, there is very little information. The -psn
option is for the OS X process id, but that's about as much as I can find.
Has anybody else seen such an intermittent problem? I am running OS X 10.6.4
and Mono 2.6.4
View this message in context: http://mono.1490590.n4.nabble.com/Error-with-psn-command-line-option-for-app-on-OS-X-tp2548503p2548503.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
More information about the Mono-osx