Re: How to detect when a AuthorizationExecuteWithPrivileges process has finished
Re: How to detect when a AuthorizationExecuteWithPrivileges process has finished
- Subject: Re: How to detect when a AuthorizationExecuteWithPrivileges process has finished
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 23 Jun 2003 13:59:10 +0200
On lundi, juin 23, 2003, at 09:32 Europe/Paris, Zeno Crivelli wrote:
It has already been asked here a couple of month ago, but that
question got
no answers....
How to detect when a process - launched with
"AuthorizationExecuteWithPrivileges" from Security.framework - has
finished?
Does the "AuthorizationExecuteWithPrivileges" function return
immediately or after the execution is completed?
It returns immediately.
If it returns immediately then how does one know when it completes?
Nothing prevents you to add a Distributed NotificationCenter to the
main application and then send a notification from the launched process
to say: "Done!".
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.