Re: Launch a user-process from daemon
Re: Launch a user-process from daemon
- Subject: Re: Launch a user-process from daemon
- From: Rakesh Singhal <email@hidden>
- Date: Thu, 22 Jan 2009 01:17:02 +0530
Currently I have one daemon app. I want to launch a GUI from daemon,
when it gets device plugged-in notification. I observed following
things while working on 10.4.11 ppc only using daemon (not agent):
1. The daemon launches the GUI on 10.4.11 ppc when I start the system.
Now if I log out and logs in and plug-in device again then it gives
error -10810. I could not understand that why does this error come and
how to resolve this.
2. If I first log in as root user and daemon launches the GUI. Now I
close the GUI and switch to another user. Now if daemon launches the
GUI then it gets launched in root user, not in current user. It shows
same behavior with all users.
I have written an agent app also. If I use agent also with daemon then
also it does not solve any of above problems.
I hope, it is clear now.
Regards
rksinghal
On Thu, Jan 22, 2009 at 1:07 AM, Shawn Erickson <email@hidden> wrote:
> On Wed, Jan 21, 2009 at 11:10 AM, Rakesh Singhal
> <email@hidden> wrote:
>> Hi Shawn,
>>
>> Thanks. Yes, you are right and I know it is not supported and I have
>> written the agent to launch GUI. But this agents gets terminated when
>> logs out, so this will not resolve the issue of getting error -10810.
>
> It isn't clear exactly what your current implementation is... Can you
> restate what you have at the moment?
>
> Also can you state what you are trying to achieve at a high level.
>
> -SHawn
>
_______________________________________________
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