• 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: exec() with pmset
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exec() with pmset


  • Subject: Re: exec() with pmset
  • From: "Igor Mozolevsky" <email@hidden>
  • Date: Thu, 1 Nov 2007 12:40:32 +0000

On 01/11/2007, Andrew James <email@hidden> wrote:

> The code has to be forked and execl as system() will lose the root privs,
> running that code however returns 13 or 256 (is there a way to know what
> these values are?)

can you not use popen() instead?


--
Igor :-)
_______________________________________________

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

  • Prev by Date: Localized country name from iso country code
  • Next by Date: Re: [Moderator] Leopard documentation update now available online
  • Previous by thread: Re: exec() with pmset
  • Next by thread: Localized country name from iso country code
  • Index(es):
    • Date
    • Thread