import
subprocess
shutdown_watcher
=
subprocess.Popen(
'shutdown -s -t 3600'
,shell
True
)
# 3600秒后关机