• 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: AuthSample
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AuthSample


  • Subject: Re: AuthSample
  • From: "Finlay Dobbie" <email@hidden>
  • Date: Mon, 29 Oct 2007 11:06:31 +0000

On 29/10/2007, Andrew James <email@hidden> wrote:
> Hi,
> So it seems the newer version of Leopard is whats dropping the privs,
> however what is the best way to retrieve the return value of the commands if
> i use fork/exec

You may want to read up on fork()/exec()/waitpid()/pipe() topics:

http://www.yolinux.com/TUTORIALS/ForkExecProcesses.html
http://www.cs.uleth.ca/~holzmann/C/system/pipeforkexec.html
http://www.iu.hio.no/~mark/unix/unix.html#SEC177

etc

 -- Finlay
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >AuthSample (From: "Andrew James" <email@hidden>)
 >Re: AuthSample (From: Nick Zitzmann <email@hidden>)
 >Re: AuthSample (From: "Andrew James" <email@hidden>)

  • Prev by Date: Any better way to determine if file is executable?
  • Next by Date: Re: Determine if App is launched thru alias?
  • Previous by thread: Re: AuthSample
  • Next by thread: Accessing CALayer properties
  • Index(es):
    • Date
    • Thread