• 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: launch agent questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: launch agent questions


  • Subject: Re: launch agent questions
  • From: Stephane <email@hidden>
  • Date: Fri, 16 Jun 2006 12:16:28 +0200


On Jun 16, 2006, at 11:49 AM, Finlay Dobbie wrote:

On 16/06/06, Stephane Sudre <email@hidden> wrote:
> I'm terribly sorry to report that LaunchAgents are for all practical
> purposes, busted in Tiger. I'd advise against using them until
> Leopard. Sorry.


Stupid question, how could one do that? Since it's a .plist and I don't
remember seeing a minimum OS version key, what would be the solution to
prevent it from running on 10.4?

I think Dave meant that you should use an alternative to LaunchAgents, such as programmatically modifying the login items, which is supported and should work in future releases of the operating system, current versions of the operating system and previous versions of the operating system.

Going forwards, once LaunchAgents work properly (in Leopard), you
should think about transitioning to them. At this point in time, it's
probably best not to try and implement a LaunchAgent.

This is how I read it in the first place. The question was more about backward compatibility:


Let's imagine this technology works fine on Leopard.

Let's imagine some software need to be both 10.4 and Leopard compatible.

How can you prevent your Launch Agent from being "launched" on 10.4 because of possible bugs?

Since it looks like the purpose of launch agent is to just automatically run a task, does that mean that you need to manually run the task at least once to see if you can run it automatically later. This seems to defeat the automatic goal.

I know backward compatibility is so yesterday these days but...


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: may b a minor error
  • Next by Date: Re: may b a minor error
  • Previous by thread: Re: may b a minor error
  • Next by thread: Is there any dummy provider
  • Index(es):
    • Date
    • Thread