I would love to do that except for I tried that on Jaguar and it did not work after applying an OS update using installer. And the man page for installer suggests using /sbin/shutdown -r or /sbin/reboot.
I can try again cause I would love for the OS to handle notifying apps to save documents as so forth.
On 6/14/06, matt jaffa <email@hidden> wrote: > soo I am getting 32256 by executing system("/sbin/shutdown -r now");
Even though you've solved your problem, I have to point out that calling /sbin/shutdown is the moral equivalent of kicking the cat. Don't restart that way. Send an AppleEvent to restart. <
http://developer.apple.com/qa/qa2001/qa1134.html>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden
This email sent to email@hidden