Re: read stderr with AuthorizationExecuteWithPrivileges
Re: read stderr with AuthorizationExecuteWithPrivileges
- Subject: Re: read stderr with AuthorizationExecuteWithPrivileges
- From: Alastair Houghton <email@hidden>
- Date: Tue, 8 Jan 2008 12:19:35 +0000
On 7 Jan 2008, at 21:16, Jérôme Paschoud wrote:
I'm desperately trying to find a way to read the stderr output when
using the function AuthorizationExecuteWithPrivileges().
This is not a Cocoa question, so you won't get a good answer here.
All I'll say is that it sounds like you're trying to misuse
AuthorizationExecuteWithPrivileges(). It isn't supposed to be used as
a generic process-launching function; it's specifically intended for
use with *your own* helper tool (which is where you should be
processing the standard error output if that's what you need).
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
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