site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Thunderbird 1.5.0.4 (Windows/20060516) Anton Ok so I admit I read it wrong regarding the return status, always got 0 for everything else I executed so I assumed 0 good and only -1 was returned if bad. soo I am getting 32256 by executing system("/sbin/shutdown -r now"); _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... That's what system() returns if it fails to execl() "/bin/sh" after fork()-ing, unfortunately it's not in the man page. But I don't see how that could be caused by just not having root privileges. matt jaffa wrote: This email sent to site_archiver@lists.apple.com