Hi

I'm writing a program entirely in lua where the gui part is done with
wxlua. Now I need this program to be able to reboot the computer and
to logoff the current user. This program will only be used on Windows,
so I tried os.execute("shutdown -r -t 0") and os.execute("shutdown -l
-t 0"), and it did work (for Win2000 and WinXP at least), but the
problem is that it flashed a dos prompt on the screen for a split
second. Is there any way to do what I want without having that dos
window showing?

Thanks in advance
//Tobbe

-------------------------------------------------------------------------
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

Reply via email to