fix: enable shell for Windows .cmd/.bat execution

Fixes EINVAL spawn error on Windows PowerShell by adding shell: true
to spawn options. Cross-platform compatible (Windows/macOS/Linux).

Changes:
- bin/ccs.js: Add shell: true to execClaude spawn options
- CHANGELOG.md: Document fix for v2.4.7
- VERSION: Bump to 2.4.7
- package.json: Bump to 2.4.7
- installers: Update version references

Security: No injection risk (array-based args, controlled inputs)
Performance: Negligible overhead (~10-20ms)
This commit is contained in:
kaitranntt committed 2025-11-05 17:16:29 -05:00
1 parent 2b35bf419f
commit 9c88c9f66b
8 files changed
+23 -7

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@kaitranntt/ccs",
"version": "2.4.6",
"version": "2.4.7",
"description": "Claude Code Switch - Instant profile switching between Claude Sonnet 4.5 and GLM 4.6",
"keywords": [
"cli",