fix(windows): resolve command execution and binary detection issues

This commit is contained in:
Burak Sormageç
2026-01-30 14:56:46 +00:00
committed by Peter Steinberger
parent 1eccfa8934
commit d7fb01afad
3 changed files with 19 additions and 12 deletions

View File

@@ -116,6 +116,7 @@ export async function runCommandWithTimeout(
cwd,
env: resolvedEnv,
windowsVerbatimArguments,
shell: process.platform === "win32",
});
// Spawn with inherited stdin (TTY) so tools like `pi` stay interactive when needed.
return await new Promise((resolve, reject) => {