From 6dcfe5a8fdd67cf1c531b67d6252d6a2cc6dfbf1 Mon Sep 17 00:00:00 2001 From: dongchangxi <458593490@qq.com> Date: Sun, 12 Jan 2025 00:04:54 +0800 Subject: [PATCH] 1 --- yj_local_build/main_step1.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yj_local_build/main_step1.py b/yj_local_build/main_step1.py index 3be70ce..926a036 100644 --- a/yj_local_build/main_step1.py +++ b/yj_local_build/main_step1.py @@ -109,6 +109,9 @@ def detect_markers(psid, pid): process = subprocess.Popen(cmd, shell=True) # 获取主进程的 PID pidddd = process.pid + + while True: + print("process",process.wait()) # 在等待主进程的同时,检查子进程的状态 while process.poll() is None: