> > Doesn't wx have any way of rebooting/loging off the computer? > > The cvs version, or next version 2.8.6 coming in the next week or so, > has wxShutdown(). > http://www.wxwidgets.org/manuals/stable/wx_processfunctions.html#wxshutdown
Awesome! This is great :) But it doesn't seem to offer the possibility to logoff. However, I found wxExecute that might be able to help me. It says "If the child process IO is redirected, under Windows the process window is not shown by default". Can someone please help me out how to use that information to not show a window when calling "shutdown -l -t 0"? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users