news
The Solution: Polyglot `.cmd` Wrapper
A polyglot script is valid syntax in multiple languages simultaneously. Our wrapper is valid in both CMD and bash: ```cmd : << 'CMDBLOCK' @echo off "C:\Program Files\Git\bin\bash.exe" -l -c "\"$(cygpath -u \"$CLAUDE_PLUGIN_ROOT\")/hooks/session-start.sh\"" exit /b CMDBLOCK
← 返回教程列表
AI8899 · 内容仅供学习参考