我知道shutdown -a将中止Windows关机,但我需要知道是否有任何我可以检查的任何东西,看看关机是否正在进行。
理想情况下,我喜欢这样的小程序:
import os
while True:
shuttingDown = <shutdown variable to check>
if shuttingDown:
os.system("shutdown.exe -a")
在我的64位kali linux中安装jdk 8时,我得到了以下错误。
root@kali:~# apt-get install oracle-java8-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
oracle-java8-installer is already the newest version (8u111+8u111arm-1~webupd8~0).
The following packages were aut