Perhaps you could set up a hotkey to run shutdown.exe from within Mala. Controller>Keyboard>External Applications
Not sure if that would cause Mala problems or not by shutting down with Mala still running.
Another possible option
Mala has a way to run an app on exit. This app will run on Alt-F4 as I just tested it on a dummy batch file. Perhaps a batch file to run shutdown.exe -s would work?
I saw something like that in the mala exit menu, it had a shutdown.exe option already there and I tried that and still alt-F4 just exited to windows
could you explain how to create a batch fie for shutdown.exe?
I'm not a windows guy either, nor am I a Mala expert - but can't you assign a button press to the shutdown option in Mala? Skip the Alt-F4, and have the button just run shutdown... it will end Mala as it shuts down.
If that won't work, then create a batch file like this:
* create a text file and call it shutit.bat (OK, you can call it whatever you want.bat)
* the text file contains "shutdown -s"
* Assign a button to run this batch file from Mala. It *should* end Mala and shut down the PC.
If Mala won't shut down with the "shutdown" command, you can add a -f which should force it to close. Not sure what that would do to whatever memory hasn't been flushed, or anything.