• 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: Little question on AuthorizationExecuteWithPrivileges
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Little question on AuthorizationExecuteWithPrivileges


  • Subject: Re: Little question on AuthorizationExecuteWithPrivileges
  • From: Eric Peyton <email@hidden>
  • Date: Sat, 11 May 2002 09:10:05 -0500

You can poll the resulting application :-)

AEWP does not provide an api to figure this out.

The easiest way to do all of this. (That I use quite often)

Use AEWP to launch a tool you write. In your tool, launch the underlying tool you want run. Grab it's pid, wait4() it, and then return, via DO a message stating the underlying app is finished.

Eric


On Saturday, May 11, 2002, at 08:50 AM, email@hidden wrote:

Is there anyway to know when a task has finished its work when you launch it using the AuthorizationExecuteWithPrivileges call?
_______________________________________________
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.
_______________________________________________
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.

References: 
 >Little question on AuthorizationExecuteWithPrivileges (From: email@hidden)

  • Prev by Date: Little question on AuthorizationExecuteWithPrivileges
  • Next by Date: Re: DO proxy question
  • Previous by thread: Little question on AuthorizationExecuteWithPrivileges
  • Next by thread: Relative pathnames e.g. when initializing NSImages?
  • Index(es):
    • Date
    • Thread