mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-08 07:17:39 +00:00
fix(cli): hide windows console windows for runner/claude subprocesses (#242)
This commit is contained in:
@@ -349,7 +349,9 @@ export function query(config: {
|
||||
env: spawnEnv,
|
||||
// Use shell: false with absolute path from getDefaultClaudeCodePath()
|
||||
// This avoids cmd.exe resolution issues on Windows
|
||||
shell: false
|
||||
shell: false,
|
||||
// Hide transient console windows on Windows when spawning Claude Code
|
||||
windowsHide: process.platform === 'win32'
|
||||
}) as ChildProcessWithoutNullStreams
|
||||
|
||||
// Handle stdin
|
||||
|
||||
Reference in New Issue
Block a user