Using the Security Framework
Using the Security Framework
- Subject: Using the Security Framework
- From: "Mike Vannorsdel" <email@hidden>
- Date: Sat, 5 May 2001 06:47:48 -0600
I'm using the security framework to run some tasks. But I've ran into
some difficult problems. When I launch the task with
AuthorizationExecuteWithPrivileges(), there doesn't seem to be a way for
me to wait until the task has completed. This causes a problem when I
have to use AuthorizationExecuteWithPrivileges() a couple of times in a
row and the second task relies on the completion of the first. The
second task will launch while the first is still in progress, thus the
second task fails. How can I wait for a task launched from the security
framework to finish? Thanks.