Re: StartupItems
Re: StartupItems
- Subject: Re: StartupItems
- From: "Benjamin Reed" <email@hidden>
- Date: Sat, 3 Jun 2006 15:59:09 -0400
On 6/3/06, Peter Seebach <email@hidden> wrote:
That's what I want, at least; I want APPLE to provide the code to handle
the fairly basic functionality of "launch this program only when the system
can support it", so I don't have to maintain thirty-leven copies of the
code which checks for and waits on services.
I think the fundamental thing that's confusing about your argument is
that your software already has to *know* how to *use* these resources,
so why does it seem strange to you to also ask for them at runtime?
It's not like you expect to be able to write a bittorrent client by
making a configuration file that says "this is a bittorrent client"
and it magically does everything for you. There's some point at which
your software's logic determines the resources needed, and you have to
ask for them. Just because some of them were previously assumed
doesn't mean it was correct to do so.
Now, if you were saying "why isn't there an API where in a one-liner I
can ask for the startup volume to be available?" that would be a good
question. But saying "why can't I just pretend the resources are
there because I used to be able to" is counterproductive, even if it's
been traditionally true on other *NIXen.
If launchd could magically know how the system can support your
software you'd be out of a job, it would be an AI that wrote your
software for you. :)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden