跳到主要内容

关机 (sys.shutdown)

声明​

sys.shutdown()

说明​

关闭设备。

警告:此操作会立即关闭设备,请确保已保存所有数据。

示例​

-- 关机
sys.shutdown()