From b976b486af19de987ccac8d050cfb7d437410c62 Mon Sep 17 00:00:00 2001 From: fengsilin Date: Thu, 18 Jun 2026 11:53:48 +0800 Subject: [PATCH] test: avoid shell by default in e2e process helper Co-Authored-By: Codex --- web/e2e/utils/process.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/e2e/utils/process.js b/web/e2e/utils/process.js index 9937ace..ef0d2fd 100644 --- a/web/e2e/utils/process.js +++ b/web/e2e/utils/process.js @@ -4,7 +4,7 @@ export function startProcess(command, args, options = {}) { const child = spawn(command, args, { cwd: options.cwd, env: { ...process.env, ...(options.env || {}) }, - shell: process.platform === 'win32', + shell: options.shell ?? false, stdio: ['ignore', 'pipe', 'pipe'], });