• 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: restarting from an applicaiton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: restarting from an applicaiton


  • Subject: Re: restarting from an applicaiton
  • From: Mark <email@hidden>
  • Date: Mon, 23 Sep 2002 22:29:38 -0400

May I suggest a shell command,

sudo shutdown -r now

you obviously need an administrator password but since you are writing to the NVRAM i'm assuming you already have admin. access.

- Mark.


On Monday, September 23, 2002, at 08:28 PM, Kai Kaahaaina wrote:

I'm working on tool that writes boot-args to the NVRAM. After writing to the NVRAM I'd like provide the users of my app with the option of restarting without having to go to the AppleMenu. Does anyone have any suggestions on how this might be done natively in Cocoa?
_______________________________________________
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.

  • Follow-Ups:
    • Re: restarting from an applicaiton
      • From: Sherm Pendley <email@hidden>
References: 
 >restarting from an applicaiton (From: Kai Kaahaaina <email@hidden>)

  • Prev by Date: Re: Custom NSTextField & keyDown:
  • Next by Date: DO and StartupItems
  • Previous by thread: restarting from an applicaiton
  • Next by thread: Re: restarting from an applicaiton
  • Index(es):
    • Date
    • Thread