• 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: We having fun yet with AuthorizationExecuteWithPrivileges?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: We having fun yet with AuthorizationExecuteWithPrivileges?


  • Subject: Re: We having fun yet with AuthorizationExecuteWithPrivileges?
  • From: Lloyd Sargent <email@hidden>
  • Date: Sun, 19 Aug 2001 18:37:35 -0500

On Sunday, August 19, 2001, at 04:41 PM, Andreas Monitzer wrote:

On Sunday, August 19, 2001, at 11:27 , Lloyd Sargent wrote:

Okay, here's the 411 - when I run AuthorizationExecuteWithPrivileges and use the pipe (the FILE *) for stdio, to get data back I either

a) wait for the tool to quit
b) wait for approx. 8K of data to fill a buffer somewhere

I've tried everything I know to change this behaviour... what can I do to get data through the pipe in a more timely fashion?

I've got no problems with fread/fwrite. Maybe a "fflush(stdout);" fixes it.

Okay, is it possible to (and I cringe even as I type this) fflush ANOTHER processes stdout if you have the PID?

Cheers,

Lloyd
---
Canna Software Development
"This e-mail was not tested on animals; all testing is done on our lawyers."


References: 
 >Re: We having fun yet with AuthorizationExecuteWithPrivileges? (From: Andreas Monitzer <email@hidden>)

  • Prev by Date: Re: We having fun yet with AuthorizationExecuteWithPrivileges?
  • Next by Date: Continious/Auto-repeat Buttons & Steppers leak 30Kb+ per second!!?
  • Previous by thread: Re: We having fun yet with AuthorizationExecuteWithPrivileges?
  • Next by thread: Re: We having fun yet with AuthorizationExecuteWithPrivileges?
  • Index(es):
    • Date
    • Thread