This commit is contained in:
2026-01-23 02:39:33 -08:00
parent e73cbd4ba2
commit 04f22da50d

View File

@@ -1265,7 +1265,17 @@ def main() -> int:
sys.stdin.readline()
continue
run_client_script = repo_root / "scripts" / "run_client.py" if repo_root else Path(__file__).parent / "run_client.py"
run_client_script = None
candidates = [
target_repo / "run_client.py",
target_repo / "scripts" / "run_client.py",
]
for candidate in candidates:
if candidate.exists():
run_client_script = candidate
break
if run_client_script is None:
run_client_script = Path(__file__).parent / "run_client.py"
if run_client_script.exists():
try: