brentonashworth/one — Issue #89: lein bootstrap fails with msysGit on windows
Author: djpowell
Created: 2012-01-26 12:40:27+00:00
State: open

The default installation of msysGit for Windows doesn't place the "C:\Program Files (x86)\git\bin" directory on the path; instead it places the "C:\Program Files (x86)\git\cmd" directory on the path, which contains a couple of batch files for starting git and gitk.

Unfortunately, Java's Runtime/exec doesn't support the running of batch files on windows, because it doesn't run commands through via the shell.

bootstrap.clj should be fixed to detect Windows and call git using:

"cmd.exe /c git "

This will support git whether it is run natively, or via the batch scripts.

--
Dave