• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: -[NSSharedWorkspace openFile:]: Application exits with status 255
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: -[NSSharedWorkspace openFile:]: Application exits with status 255
      • From: Sidney San Martín <email@hidden>
References: 
 >-[NSSharedWorkspace openFile:]: Application exits with status 255 (From: Sidney San Martín <email@hidden>)
 >Re: -[NSSharedWorkspace openFile:]: Application exits with status 255 (From: Sidney San Martín <email@hidden>)

  • Prev by Date: Re: How to show items in a list ,grid or coverflow?
  • Next by Date: Re: How to make app login window to look like OS X user login window ?
  • Previous by thread: Re: -[NSSharedWorkspace openFile:]: Application exits with status 255
  • Next by thread: Re: -[NSSharedWorkspace openFile:]: Application exits with status 255
  • Index(es):
    • Date
    • Thread