• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: read stderr with AuthorizationExecuteWithPrivileges
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >read stderr with AuthorizationExecuteWithPrivileges (From: Jérôme Paschoud <email@hidden>)

  • Prev by Date: Re: Clipping drawing printed to PDF?
  • Next by Date: NSImage representation resolution problems
  • Previous by thread: read stderr with AuthorizationExecuteWithPrivileges
  • Next by thread: Interface Builder Layer Transitions
  • Index(es):
    • Date
    • Thread