I'm not sure how you could pretend to be root in a running Python program.
On 2/26/2020 12:37 PM, Gene Heskett wrote:
On Wednesday 26 February 2020 12:36:36 John wrote:
Interesting, how would you shut down any PC from Python?
Have it issue this string to a root shell "shutdown -h now"?
JT
On 2/26/20 9:28 AM, andy pugh wrote:
On Wed, 26 Feb 2020 at 15:01, John Thornton <j...@gnipsel.com> wrote:
often wished it had and "Exit App" button. I really hate the "Do
you really want to quit" nag... it's so annoying to have that as a
feature you can't control in the ini file.
I was considering setting up the "Shutdown" button require two
presses before it did anything.
Note that I also want this button to shut down the PC, rather than
find a fiddly little button in the menu bar.
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers
Cheers, Gene Heskett
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers