[GRASS-dev] WinGrass7-installer + "GRASS 7.0.SVN with
MSYS"-desktop-shortcut
Glynn Clements
glynn at gclements.plus.com
Sat Jun 19 16:18:23 EDT 2010
Helmut Kudrnovsky wrote:
> >> the desktop-shortcut to start WinGrass7 with Msys is actuallay following:
> > >
> > >"C:\Program Files\GRASS-70-SVN\msys\msys.bat" "/grass/bin/grass70 -wxpython"
> > >(http://trac.osgeo.org/grass/browser/grass/trunk/mswindows/GRASS-Installer.nsi#L624)
> > >
> > >I've tried a little different approaches to launch WinGrass7 with a msys-command-line , but no success at
> > >the moment.
> > >
> > >maybe any hints?
> >
> >Create a batch file which sets SHELL to the full Windows path to MSys'
> >sh.exe then runs grass70.py.
>
> I've tried following in a bat-file (with the WinGrass7-installation inC:\Program Files\GRASS-70-SVN):
>
> set SHELL="C:\Program Files\GRASS-70-SVN\msys\bin\sh.exe"
> "C:\Program Files\GRASS-70-SVN\grass70.py"
>
> but it fails because of the missing settings of paths to utilities (libraries and bynaries) used by GRASS,
> path to the python directory, etc.
>
> these settings are already done in grass70.bat
> (written out by the installer see
> http://trac.osgeo.org/grass/browser/grass/trunk/mswindows/GRASS-Installer.nsi#L660).
>
> also in Grass70.bat grass70.py is invoked.
>
> so would maybe a bat-file with
>
> set SHELL="C:\Program Files\GRASS-70-SVN\msys\bin\sh.exe"
> "C:\Program Files\GRASS-70-SVN\grass70.bat"
>
> an option to get a msys-shell (although a msys-shell in a windows-commandline and not in an rxvt-terminal)?
That sounds like it should work. I don't see any reason to have the
same PATH setting in multiple batch files.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list