• 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: Setting stderr for a helper run with AuthorizationExecuteWithPrivileges
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting stderr for a helper run with AuthorizationExecuteWithPrivileges


  • Subject: Re: Setting stderr for a helper run with AuthorizationExecuteWithPrivileges
  • From: Finlay Dobbie <email@hidden>
  • Date: Fri, 20 May 2005 14:20:28 +0100

On 5/12/05, John Clayton <email@hidden> wrote:
> Hi,
>
> I am running an installer tool using security services via
> AuthorizationExecuteWithPrivileges().  I need (ok, want) to
> differentiate between the child process' stdout and stderr.  Stdout is
> set up for me in the function call, of course.  But, how can I tell the
> child to use a different communications channel for its stderr and not
> the parent's?

You can't do that with AEWP(). You'll have to set the setuid bit on
the executable and then launch it in the normal fashion, as
demonstrated in the MoreAuthSample code.

 -- Finlay
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Setting stderr for a helper run with AuthorizationExecuteWithPrivileges (From: John Clayton <email@hidden>)

  • Prev by Date: Re: Plugin support for Apple's Mail application
  • Next by Date: Re: Plugin support for Apple's Mail application
  • Previous by thread: Setting stderr for a helper run with AuthorizationExecuteWithPrivileges
  • Next by thread: Display Keys-Values in Spotligh
  • Index(es):
    • Date
    • Thread