• 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: Crash Reporter for Cocoa Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash Reporter for Cocoa Application


  • Subject: Re: Crash Reporter for Cocoa Application
  • From: Scott Ribe <email@hidden>
  • Date: Mon, 12 Nov 2007 11:03:34 -0700
  • Thread-topic: Crash Reporter for Cocoa Application

> There's no trick here. Just use Launch Services or NSWorkspace -
> openFile: to launch the helper app, and it will be a child of the
> window server. This has always been the right way to launch GUI app.
> Fork/exec leave the app as a child of your app, causing lots of minor
> issues.

I didn't know Launch Services would do that. I suppose it should have been
obvious, but...

Anyway, I used NSTask. Until (around 10.4.10) it stopped working with a
mysterious error message on some Macs but not others. I switched to
vfork/exec. But I only to launch a script which calls launchctl and then
returns--so there is no process left as a child of my app.

I'll look at the other options next time I update anything about this.

--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

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: Crash Reporter for Cocoa Application
      • From: John Stiles <email@hidden>
References: 
 >Re: Crash Reporter for Cocoa Application (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Creating balloon type of window in Cocoa
  • Next by Date: Re: Crash Reporter for Cocoa Application
  • Previous by thread: Re: Crash Reporter for Cocoa Application
  • Next by thread: Re: Crash Reporter for Cocoa Application
  • Index(es):
    • Date
    • Thread