调整json数据
This commit is contained in:
@@ -133,7 +133,7 @@ class SystemUpdaterPlugin(MessagePluginInterface):
|
|||||||
try:
|
try:
|
||||||
# 使用相对路径调用 restart.sh 脚本
|
# 使用相对路径调用 restart.sh 脚本
|
||||||
result = subprocess.run(
|
result = subprocess.run(
|
||||||
["/home/liuwei/wechatbot/WeChatRobot/restart.sh"], # 使用绝对路径
|
["/home/liuwei/abot/restart.sh"], # 使用绝对路径
|
||||||
check=True,
|
check=True,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE
|
stderr=subprocess.PIPE
|
||||||
|
|||||||
Reference in New Issue
Block a user