shutdown 명령어

os.system('shutdown -s -t 0') # 즉시 종료

shutdown 명령어들

출처:

https://gunnm.tistory.com/53