mirror of
https://github.com/mksglu/context-mode.git
synced 2026-09-19 03:27:16 +08:00
89f4e73630
#782: On Windows Git Bash, a bare `mvn` runs Maven's POSIX script which on the mingw branch leaves CLASSWORLDS_JAR as a POSIX path that native java.exe cannot resolve (ClassNotFoundException). Rewrite the bare `mvn` token to `mvn.cmd` (native Windows launcher) in shell scripts. This avoids re-enabling global MSYS path-conversion suppression that #826/#791 removed for native git. #788(a): Non-shell runtimes (python/js/ts/...) ran with cwd=sandbox tmpDir, so repo-relative checks failed depending on language. Unify cwd to the project root (or per-call override) for all languages; the script file still lives in the sandbox and is passed by absolute path. #788(b): .ctx-mode-* temp dirs leaked on Windows when SQLite -wal/-shm handles lingered and a single rmSync threw EBUSY/EPERM into a silent catch. Add cleanupTmpDir() with rmSync maxRetries/retryDelay backoff.