• 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: Several Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Several Questions


  • Subject: Re: Several Questions
  • From: Todd Heberlein <email@hidden>
  • Date: Sun, 31 May 2009 20:31:22 -0700

You can use launchd to keep your app alive. That way you, don't have to worry about adding code to your application to do it, you just have to ensure the launchd property list is in the right place.

So if in your launchd module you have the key-value pair:

	<key>KeepAlive</key>
	<true/>

will launchd automatically restart the program when it exists no matter what the exit status is? I wasn't a 100% sure.

Todd

_______________________________________________

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


References: 
 >Several Questions (From: Ammar Ibrahim <email@hidden>)
 >Re: Several Questions (From: Kyle Sluder <email@hidden>)
 >Re: Several Questions (From: Ammar Ibrahim <email@hidden>)
 >Re: Several Questions (From: Chris Hanson <email@hidden>)
 >Re: Several Questions (From: Ammar Ibrahim <email@hidden>)
 >Re: Several Questions (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Several Questions
  • Next by Date: Detecting a modal session.
  • Previous by thread: Re: Several Questions
  • Next by thread: Re: Several Questions
  • Index(es):
    • Date
    • Thread