TooTallNate/node-gyp — Issue #7: Make "Git Bash" or a vanilla cmd window work
Author: TooTallNate
Created: 2012-02-06 09:24:00+00:00
State: open

Currently Windows only works inside a _Visual Studio Command Prompt_.

Let's fix that by attempting to guess where `msbuild.exe` lives by default and executing it directly.

If that seems to cause any problems, then attempt to find the `vcvarsall.bat` file based on its default location and spawn a process like `cmd /s /c "C:\\path\\too\\vcvarsall.bat && msbuild"`, but hopefully the first option works out.