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
@@ -2,7 +2,7 @@
set -euo pipefail
# Version (updated by scripts/bump-version.sh)
CCS_VERSION="2.4.6"
CCS_VERSION="2.4.7"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
readonly CONFIG_FILE="${CCS_CONFIG:-$HOME/.ccs/config.json}"
+1 -1
View File
@@ -134,7 +134,7 @@ function Show-Help {
}
# Version (updated by scripts/bump-version.sh)
$CcsVersion = "2.4.6"
$CcsVersion = "2.4.7"
$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
$ConfigFile = if ($env:CCS_CONFIG) { $env:CCS_CONFIG } else { "$env:USERPROFILE\.ccs\config.json" }