build_server.py | ●●●●● 补丁 | 查看 | 原始文档 | 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": "编译失败"})