realbasic-nug
[Top] [All Lists]

Re: Troubles with debugging

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Troubles with debugging
From: Arnaud Nicolet <anic297@mac.com>
Date: Mon, 29 Dec 2008 23:58:32 +0100
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <1CE0CE04-E315-41D7-88A6-4F6852E45289@great-white-software.com>
References: <9E902F19-8551-4D14-9B71-8E7D9BC35C5F@mac.com> <20E64AA7-705C-41FD-AAC3-E8AA0D313134@great-white-software.com> <69926388-8701-44B7-851D-810B5E52D6D3@mac.com> <0AE9F479-73C3-4EAC-9029-982933BABC85@great-white-software.com> <6BDB0A2A-464B-4D39-8155-7F2DE19F3E2C@mac.com> <2C157792-FA8C-4237-9F92-0CBD7CB7F07C@great-white-software.com> <60B2360E-8B9E-4515-96C9-3529D9B896EB@mac.com> <5E447F91-1C2C-4A9A-BE2A-E20856CD7916@great-white-software.com> <2ABD8C8A-2120-4CBD-A343-2A11D8FA1BFD@mac.com> <1CE0CE04-E315-41D7-88A6-4F6852E45289@great-white-software.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
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>


<Prev in Thread] Current Thread [Next in Thread>