Msys-based commands fail when winGRASS is installed in %ProgramFiles%
|Reported by:||Luigi Ponti||Owned by:|
Current standalone winGRASS installer (I used that of 20 Jan 2010 on Windows 7) defaults to %ProgramFiles% and this seems to prevent all sh.exe-based commands to work properly. E.g. d.shadedmap and r.shaded.relief fail with the following error message:
r.shaded.relief map=dem /c/Program: Files\GRASS-64-SVN\msys\bin\sh.exe: No such file or directory
This should be related to http://trac.osgeo.org/grass/ticket/714 http://lists.osgeo.org/pipermail/grass-dev/2010-January/048199.html
Also see this post: http://n2.nabble.com/GUI-with-python-scripts-tp4435076p4440590.html
which says that installing 6.4.0-SVN snapshots in %ProgramFiles% won't work until the recent changes to the G_spawn* functions have been back-ported. The current 6.4.0 code is known not to work with spaces in $GISBASE. 6.5 should work (although based upon recent comments, MSys might need to be installed in C:\msys).