Re: We having fun yet with AuthorizationExecuteWithPrivileges?
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."