зеркало из https://github.com/mono/mail-archives.git
98 строки
4.3 KiB
HTML
98 строки
4.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-osx] Error with "psn" command line option for .app on OS X
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Error%20with%20%22psn%22%20command%20line%20option%20for%20.app%20on%20OS%20X&In-Reply-To=1285072011326-2548503.post%40n4.nabble.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="003156.html">
|
|
<LINK REL="Next" HREF="003167.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-osx] Error with "psn" command line option for .app on OS X</H1>
|
|
<B>Michael Hutchinson</B>
|
|
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Error%20with%20%22psn%22%20command%20line%20option%20for%20.app%20on%20OS%20X&In-Reply-To=1285072011326-2548503.post%40n4.nabble.com"
|
|
TITLE="[Mono-osx] Error with "psn" command line option for .app on OS X">m.j.hutchinson at gmail.com
|
|
</A><BR>
|
|
<I>Sun Sep 26 12:25:09 EDT 2010</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="003156.html">[Mono-osx] Error with "psn" command line option for .app on OS X
|
|
</A></li>
|
|
<LI>Next message: <A HREF="003167.html">[Mono-osx] Error with "psn" command line option for .app on OS X
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#3161">[ date ]</a>
|
|
<a href="thread.html#3161">[ thread ]</a>
|
|
<a href="subject.html#3161">[ subject ]</a>
|
|
<a href="author.html#3161">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>On Tue, Sep 21, 2010 at 5:26 AM, stevenspencer
|
|
<<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">stevenspencer01 at gmail.com</A>> wrote:
|
|
><i>
|
|
</I>><i> I have an intermittent problem. I have a mono application as a .app bundle on
|
|
</I>><i> my desktop.
|
|
</I>><i>
|
|
</I>><i> Occasionally, double-clicking the .app has no effect. You see the icon
|
|
</I>><i> effect (the icon increases in size and fades out), but the application never
|
|
</I>><i> launches.
|
|
</I>><i>
|
|
</I>><i> Looking in the Console, the line
|
|
</I>><i>
|
|
</I>><i>      Unknown command line option '-psn_0_548998'
|
|
</I>><i>
|
|
</I>><i> appears for my application. This is what is seen on the command line if one
|
|
</I>><i> types "mono -psn_0_548998 appname". Typing "mono appname -psn_0_548998" has
|
|
</I>><i> no issues since the command line option gets passed through to my
|
|
</I>><i> application.
|
|
</I>><i>
|
|
</I>><i> It appears that the launchd app of the OS is adding this extra option and
|
|
</I>><i> passing it through to mono. Although, given that the problem is
|
|
</I>><i> intermittent, it does not do this every time. When the application works,
|
|
</I>><i> one can see, from doing a "ps agux", that my application does not have a
|
|
</I>><i> "-psn..." option on its command line whereas other running applications,
|
|
</I>><i> such as iTunes, do have the option.
|
|
</I>><i>
|
|
</I>><i> After googling around for this, there is very little information. The -psn
|
|
</I>><i> option is for the OS X process id, but that's about as much as I can find.
|
|
</I>><i>
|
|
</I>><i> Has anybody else seen such an intermittent problem? I am running OS X 10.6.4
|
|
</I>><i> and Mono 2.6.4
|
|
</I>
|
|
What does your launch script look like?
|
|
|
|
--
|
|
Michael Hutchinson
|
|
<A HREF="http://mjhutchinson.com">http://mjhutchinson.com</A>
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="003156.html">[Mono-osx] Error with "psn" command line option for .app on OS X
|
|
</A></li>
|
|
<LI>Next message: <A HREF="003167.html">[Mono-osx] Error with "psn" command line option for .app on OS X
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#3161">[ date ]</a>
|
|
<a href="thread.html#3161">[ thread ]</a>
|
|
<a href="subject.html#3161">[ subject ]</a>
|
|
<a href="author.html#3161">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
|
|
mailing list</a><br>
|
|
</body></html>
|