fix(ops): ui_act新增launch args支持+activate仅contains时KeyError修复+credtype LocalFree类型错修复 [vps]
CI/CD / test (push) Successful in 24s
CI/CD / nas-deploy (push) Successful in 30s
CI/CD / nas-verify (push) Successful in 13s

This commit is contained in:
2026-09-10 19:06:35 +08:00
parent 4bd856ab8d
commit c46fa4e623
+3 -2
View File
@@ -85,8 +85,9 @@ for a in plan:
if op == "launch":
import subprocess
cwd = a.get("cwd") or None
subprocess.Popen([a["exe"]], cwd=cwd)
print("LAUNCH %s" % a["exe"].encode("unicode_escape").decode("ascii"))
subprocess.Popen([a["exe"]] + list(a.get("args", [])), cwd=cwd)
print("LAUNCH %s %s" % (a["exe"].encode("unicode_escape").decode("ascii"),
" ".join(a.get("args", []))))
if op == "minimize":
import ctypes
user32 = ctypes.windll.user32