Skip to content

Fix Claude SDK spawn path for Windows npm .cmd shims#139

Merged
SDSLeon merged 1 commit into
masterfrom
lightcode/tidy-heron-38b7a44f
Jun 6, 2026
Merged

Fix Claude SDK spawn path for Windows npm .cmd shims#139
SDSLeon merged 1 commit into
masterfrom
lightcode/tidy-heron-38b7a44f

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 6, 2026

Copy link
Copy Markdown
Owner
  • Bugfix: Route native Windows Claude SDK spawns through buildAgentCommand so npm-installed .cmd shims start reliably instead of being executed directly.
  • Wire a custom spawnClaudeCodeProcess for both WSL and Windows GUI sessions, unifying how the SDK delegates process creation by project location.
  • Add a Windows-only regression test in sdkSession.test.ts that asserts .cmd shims are wrapped rather than passed straight to spawn.

- Route win32 spawnClaudeNative through buildAgentCommand
- Wire spawnClaudeCodeProcess for WSL and Windows SDK sessions
- Add Windows-only test for .cmd shim wrapping
@vercel

vercel Bot commented Jun 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
lightcode-landing Skipped Skipped Jun 6, 2026 5:11pm

@SDSLeon SDSLeon merged commit 406f6c5 into master Jun 6, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/tidy-heron-38b7a44f branch June 6, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant