Administrator
2025-07-09 66af79572d83e941d2c8d4038adc71429e19282d
脚本构建服务器
1个文件已修改
2 ■■■ 已修改文件
build_server.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
build_server.py
@@ -41,7 +41,7 @@
                os.remove(output_file_path)
            # 进行编译
            logger_debug.info(f"编译脚本:{os.path.join(root_dir, script)}")
            result = subprocess.run([script], cwd=root_dir, stdout=subprocess.PIPE, text=True)
            result = subprocess.run(f"cd {root_dir} && {script}  ", stdout=subprocess.PIPE, shell=True)
            logger_debug.info(f"执行结果:{result.stdout}")
            if not os.path.exists(output_file_path):
                response_data = json.dumps({"code": 1, "msg": "编译失败"})