我是这么写shell "shutdown -h"application.quit但dos命令shutdown -h无法延时执行,所以理论上可能电脑直接休眠,导致quit方法没来得及执行
调用shutdown -h -t 60延迟60秒。