From 36ee276813c3f36c4bcc65b889a3d12233880cfd Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期三, 09 七月 2025 13:08:05 +0800
Subject: [PATCH] 脚本构建服务器

---
 build_server.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/build_server.py b/build_server.py
index cf6cfc6..4713b20 100644
--- a/build_server.py
+++ b/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:

--
Gitblit v1.8.0