Re: LaunchAgents in Tiger
Re: LaunchAgents in Tiger
- Subject: Re: LaunchAgents in Tiger
- From: Grant Erickson <email@hidden>
- Date: Tue, 29 Sep 2009 13:48:14 -0700
- Organization: Nuovation System Designs, LLC
- Thread-topic: LaunchAgents in Tiger
On 9/29/09 9:48 AM, Sachin Srivastava wrote:
> My installer install a program, which i needed to run at user-login. Now
> for the same i have written a LaunchAgent but the problem is it is not
> launching at user-login.
>
> I put the plist file at /Library/LaunchAgents
>
> Also when logged in, if from terminal, if i fire:
>
> launchctl load /Library/LaunchAgents/com.launchd.myprogram.plist (which
> has RunAtLoad = true).
>
> In the /var/log/system.log i get
> launchd[2..2] com.launchd.myprogram:exited abnormally: Abort Trap
>
> However, if i run :
>
> sudo launchctl load /Library/LaunchAgents/com.launchd.myprogram.plist
>
> Everything works fine.
>
> I tried the same on a leopard and snow leopard box and everything works
> fine there without any problem. What is is that i am missing in Tiger?
Sachin:
I'd recommend you read:
http://developer.apple.com/mac/library/technotes/tn2005/tn2083.html
LaunchAgents are, unfortunately, seemingly DOA (dead on arrival) in Tiger.
Regards,
Grant
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden