How to reboot Linux System from windows Program

Questions about Wine on Linux
Locked
dargonzyr
Newbie
Newbie
Posts: 3
Joined: Mon Jun 03, 2013 8:56 pm

How to reboot Linux System from windows Program

Post by dargonzyr »

I use function "ExitWindowsEx(EWX_REBOOT | EWX_FORCE,0);" to reboot system,but only wine be rebooted.
:cry:
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: How to reboot Linux System from windows Program

Post by dimesio »

I suppose you could write a bash script that runs your app and then reboots the system, but I have to ask, why do you want your app to reboot the whole system? If this is an installer that wants to reboot Windows after finishing, rebooting Wine should be sufficient. A full system restart is normally only needed after a kernel update.
Locked