Shutdown question

hi,
I have realized a patch that a render performs in fullscreen, and when I press the button of power of the pc he is not closed vvvv and the computer it doesn’t make the shutdown.
is there a way to make to close vvvv and to extinguish the pc to the pressure of the power button?
or with the pressure of another key?
thanks to everybody.

Shutdown (Windows) is your node.
else you could execute shutdown.exe with ShellExecute (Windows) . you’ll find it in C:\WINDOWS\system32\

perfect,
with the second pin in force, everything is closed.
thanks.

Maybe we can find a solution for the “Power Button” problem in this post: http://vvvv.org/tiki-view_forum_thread.php?comments_parentId=21537&forumId=4&highlight=ACPI