Re: Launch process as root from cocoa app

2010-01-27 Thread Nyxem
It didn't work, I'm gonna try the solution given by Kyle Sluder, with the KeepAlive options of launchd.plist. On Jan 27, 2010, at 4:34 AM, Charles Srstka wrote: > On Jan 25, 2010, at 9:18 PM, Nick Zitzmann wrote: > >> >> On Jan 25, 2010, at 12:57 AM, Nyxem

Launch process as root from cocoa app

2010-01-25 Thread Nyxem
w and I have to re-enter an admin password, which is very annoying. So is there any other way to do this without enter 2 times an admin password ? Thanks for your help. Nyxem. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post adm

Re: NSWorkspace in a daemon

2009-11-30 Thread Nyxem
So what is the right way to do this ? Nyxem. On Nov 30, 2009, at 4:37 PM, Jean-Daniel Dupas wrote: > > Le 30 nov. 2009 à 16:25, Bill Garrison a écrit : > >> >> On Nov 30, 2009, at 9:17 AM, Nyxouf da ouf wrote: >> >>> Hi, >>> >>> I ha

Re: NSWorkspace in a daemon

2009-11-30 Thread Nyxem
I found something that said to use NSApplicationLoad() and it seems to work. Nyxem. On Nov 30, 2009, at 4:25 PM, Bill Garrison wrote: > > On Nov 30, 2009, at 9:17 AM, Nyxouf da ouf wrote: > >> Hi, >> >> I have an Obj-c program who run as a daemon, using la

Re: SFAuthorization

2009-11-16 Thread Nyxem
Ok, thanks for helping me Kyle. I'll take a look to BetterAuthorizationSample code. Nyxem On Nov 16, 2009, at 8:13 AM, Kyle Sluder wrote: > On Sun, Nov 15, 2009 at 10:39 AM, nyx...@gmail.com wrote: >> If i understood correctly, the function AuthorizationExecuteWithPrivileges(