Do you know any way to forcing restart an Mac OS computer from code? I tried an small applescript code without result. Applications ask for shutdown to the user so the user coul
It's an usual thing to want to force. If the user is willing to type in their password and are an administrator of the computer; perhaps you can run
sudo reboot
from your application.