• 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: Regarding launching an application at startup of mac.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regarding launching an application at startup of mac.


  • Subject: Re: Regarding launching an application at startup of mac.
  • From: Keith Duncan <email@hidden>
  • Date: Sat, 20 Jan 2007 19:40:57 +0000

I also found this when I was working with launchd agents: it would appear they are broken.

To solve it, I implemented a foundation tool that launchd would start and then built an app with the LSBackgroundOnly key set in the plist. I then have the foundation tool start the UI app when user input is needed.

Perhaps someone knows of a better solution.

- Keith

On 20 Jan 2007, at 07:17, Amit Jain wrote:

I have done every thing i.e. now i can launch the appplication thru launchd
as launchAgents but the only problem i am facing now is that this
application is not launched when i log off and login again with same user. I
get this error :
CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port =
0x3303, name = 'com.yourcompany.iTunesDroper.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
iTunesDroper[313] CFLog (99): CFMessagePortCreateLocal(): failed to name
Mach port (com.yourcompany.iTunesDroper.ServiceProvider)
can you suggest how to solve this.
This works fine i.e. launches my application on restart but fails when i log
off and login again.:(
Thanks for the interest.
Regards..
@mit..
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >Regarding launching an application at startup of mac. (From: "Amit Jain" <email@hidden>)
 >Re: Regarding launching an application at startup of mac. (From: "Sean McBride" <email@hidden>)
 >Re: Regarding launching an application at startup of mac. (From: "Amit Jain" <email@hidden>)
 >Re: Regarding launching an application at startup of mac. (From: "Sean McBride" <email@hidden>)
 >Re: Regarding launching an application at startup of mac. (From: "Amit Jain" <email@hidden>)

  • Prev by Date: Re: Image not updated
  • Next by Date: Re: Cocoa-dev Digest, Vol 4, Issue 63
  • Previous by thread: Re: Regarding launching an application at startup of mac.
  • Next by thread: Re: Regarding launching an application at startup of mac.
  • Index(es):
    • Date
    • Thread