Use 32-bit cmd.exe to open .sh files on 64-bit Windows to avoid crashes
commitfb20d3bf530fa2243c1da2a7928a3cc3ad0bdcc0
authorMark Mikofski <mark.mikofski@sunpowercorp.com>
Thu, 7 Jun 2012 07:42:55 +0000 (7 00:42 -0700)
committerMark Mikofski <mark.mikofski@sunpowercorp.com>
Thu, 7 Jun 2012 14:25:37 +0000 (7 07:25 -0700)
tree6675fbe95f562b1ece8a7356d52902a8a561bcae
parentf8f37dd63a328952497d3e3a8d4de28d06663205
Use 32-bit cmd.exe to open .sh files on 64-bit Windows to avoid crashes

use %WINDIR%\SysWOW64\cmd /C to run "sh.exe --login %1 %*"
use {syswow64} variable to determine which cmd to use

addresses issue #12

Signed-off-by: Mark Mikofski <mark.mikofski@sunpowercorp.com>
share/WinGit/install.iss