sync: SHANGHAI-U9 2026-10-20

This commit is contained in:
bowei
2026-10-20 23:10:24 +08:00
parent 4c60916d4c
commit 007376f8fd
2 changed files with 13 additions and 4 deletions
+2 -1
View File
@@ -855,7 +855,8 @@ def cmd_bmem(a):
line = "A2A-NODE %s %s" % (cfg["node_id"], " ".join(urls))
print("bmem add --global", line)
if not a.dry_run:
subprocess.run(["bmem", "add", "--global", line])
# which() honours PATHEXT, so a bmem.cmd shim is found too (CreateProcess alone is not)
subprocess.run([shutil.which("bmem") or "bmem", "add", "--global", line], check=True)
def main():