Re: -[NSSharedWorkspace openFile:]: Application exits with status 255
Re: -[NSSharedWorkspace openFile:]: Application exits with status 255
- Subject: Re: -[NSSharedWorkspace openFile:]: Application exits with status 255
- From: Michael Ash <email@hidden>
- Date: Wed, 22 Apr 2009 23:12:28 -0400
On Wed, Apr 22, 2009 at 7:28 PM, Sidney San Martín <email@hidden> wrote:
> I just discovered a new behavior that might be helpful. I'm storing my
> helper in MacOS (so that it can be located with [NSBundle
> pathForAuxiliaryExecutable:]). The call to openFile: causes both my
> application and helper to be executed. My application exits (or so
> launchd says, even if I put an NSLog in main(), nothing is printed),
> but my helper runs successfully.
I suggest moving your helper out of MacOS. LaunchServices has various
bugs which get exposed when you do that. You'll probably have better
luck putting it in Resources or some other location.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden