mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-28 20:15:48 +00:00
Use string concatenation (not args array) when shell is needed to avoid Node.js DEP0190 deprecation warning. Restores previous working approach with conditional shell usage based on file extension. Key changes: - Added escapeShellArg() helper for proper argument escaping - Conditional shell: only for .cmd/.bat/.ps1 files on Windows - When shell needed: concatenate args into single escaped string - When no shell: use array form (faster, no overhead) Benefits: - No deprecation warning - Proper security (escaped arguments) - Better performance (no shell on Unix or for .exe files) - Matches previous stable implementation Version: 2.4.9