build_server.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
build_server.py
@@ -40,7 +40,9 @@ if os.path.exists(output_file_path): os.remove(output_file_path) # 进行编译 subprocess.run([os.path.join(root_dir, script)], capture_output=True, text=True) logger_debug.info(f"编译脚本:{os.path.join(root_dir, script)}") result = subprocess.run([os.path.join(root_dir, script)], capture_output=True, shell=True) logger_debug.info(f"执行结果:{result.stdout}") if not os.path.exists(output_file_path): response_data = json.dumps({"code": 1, "msg": "编译失败"}) else: