From 2fcbb026df879098681c04b7ba0870e2e8c796ab Mon Sep 17 00:00:00 2001 From: cc <98377878+hicccc77@users.noreply.github.com> Date: Thu, 26 Mar 2026 22:32:33 +0800 Subject: [PATCH] 222 --- electron/services/keyServiceMac.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/services/keyServiceMac.ts b/electron/services/keyServiceMac.ts index 647a28e..c304134 100644 --- a/electron/services/keyServiceMac.ts +++ b/electron/services/keyServiceMac.ts @@ -385,7 +385,7 @@ export class KeyServiceMac { // 通过 try/on error 回传详细错误,避免只看到 "Command failed" const scriptLines = [ `set helperPath to ${JSON.stringify(helperPath)}`, - `set cmd to quoted form of helperPath & " ${pid} ${waitMs}"`, + `set cmd to quoted form of helperPath & " ${pid} ${waitMs} 2>&1"`, `set timeoutSec to ${timeoutSec}`, 'try', 'with timeout of timeoutSec seconds',