From f0f62c23078bc2336fce72f55b11f4d163a8456d Mon Sep 17 00:00:00 2001 From: claude-bot Date: Sat, 2 May 2026 20:56:40 +0900 Subject: [PATCH] Fix Windows cmd quoting for Python --- src/python-runtime.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/python-runtime.ts b/src/python-runtime.ts index 73511cc..ac4da6d 100644 --- a/src/python-runtime.ts +++ b/src/python-runtime.ts @@ -27,6 +27,9 @@ function splitCommand(command: string): string[] { } function quoteWindowsCmdArg(value: string): string { + if (!/[ \t"&()<>^|]/.test(value)) { + return value; + } return `"${value.replace(/"/g, '""')}"`; }