I try to figure things out myself before posting but getting a lot of conflicting info in my reading about shutdown from within a python script and it makes me nervous to 'try" something when it comes to shutdown. The goal is to offer 3 choices of restart applcation, reboot or shutdown -- all with a button push and associated function. And I'm reading about os.execv, shutdown.exe and so on. Concerned about open windows and whether they matter etc. There really isn't any decent tutorial on this.
I know I can use os.system and run commands but want to do this right and be safe and want to understand what I'm doing.
I'm starting my application from the command line and using Tkinter. -thanks for any help
