mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-15 06:16:03 +00:00
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:
1 parent
2b35bf419f
commit
9c88c9f66b
8 files changed
+23
-7
No files matched your search
@@ -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
@@ -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" }
|
||||
|
||||
|
||||
Reference in new issue
Block a user