Le 29 déc. 08 à 23:48 (soir), Norman Palardy a écrit:
Well, as the trash is common for each user, I'd imagine a
GlobalTemporaryItemsFolder would be a good idea.
Trashes are private as well
Things have changed since Mac OS 9...
Ok, I guess there is at least one common folder (the root volume for
instance)...
Not sure it service apps have any restrictions about starting
other apps (I can't imagine that would be true but it's possible)
Hmm... Perhaps I should make my agent a Console application?
The problem is, in console applications, there is no DontDaemonize
event (and an agent seems to need to be not daemonized).
Not quite sure I understand why this would make any difference?
Well, I guess console applications and service applications don't have
the same set of API (else they'd not be different, in an RB point of
view).
At least, I have to find a solution...
But a console app can be a deamon or not and that can be controlled
via launchd.
It's just an app that is not necessarily owned or controlled by any
user.
So what happen if your daemon is a service application and you return
true in the "DontDaemonize" event (and you tells launchd to run your
app daemonized), or the other way around?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|