Re: Running process as root from Cocoa
Re: Running process as root from Cocoa
- Subject: Re: Running process as root from Cocoa
- From: "Kyle Sluder" <email@hidden>
- Date: Tue, 29 Jan 2008 01:17:31 -0500
On Jan 29, 2008 1:03 AM, Mitchell Hashimoto <email@hidden> wrote:
> But I actually want to launch the same
> program with root access, is there a special way to do this? As far as
> I know I can't launch two instances of my same program so how would I
> go about doing this?
You're going to run into one fundamental problem very quickly: apps
running as root cannot access the window server on 10.5. You're going
to have to factor out the payload logic into a separate non-GUI tool
and use some sort of IPC technique to communicate between the two
modules.
Sorry that this just got a lot more complicated.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden