Re: restarting from an applicaiton
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.