Nov-12-2019, 04:49 PM
Quote:I'd like to know if there's a way in python to detect (maybe using an infinite loop in a script run in background) if windows is shutting dowThe first reply explains on URL I provided: 'how to intercept the shutdown command.'
you don't have to use the code verbatim, just use the 'Detect' part!!!