Hi Andrea,

>> Beeing you file such that it contains:
>>
>> set GRASSDIR=C:\Programmi\grass
>> set GRASS_SH=%GRASSDIR%\msys\bin\sh.exe
>>
>> you should use:
>>
>> GRASS_SH=C:\Programmi\grass\msys\bin\sh.exe
>>
>
> I have always the same error.

I finally tried that on a windows machine and that works for me.
In fact having put the GRASS_SH parent folder in the path, you should
be able to launch it substituting:

@"%GRASS_SH%" -c '"C:/Programmi/jgrass/jgrass/grass/scripts/r.shaded.relief"

with:

@"sh.exe%" -c '"%GISBASE%/scripts/r.shaded.relief" %*'

This works for me on winXP.

I am not sure right now how to add the GRASS_SH variable to the
environment, I will have to think about it when I have more time.
Could you please open a bug report for this?

Let me know if it works for you,
Ciao
Andrea







> I think it's a simple problem, but I'm not
> able to solve it. It woud be fantastic that someone of you make the test in
> a windows machine.
>
> Once again, thank you,
>
> a
>
>
> -----
> Andrea Borruso
>
> ----------------------------------------------------
> email: [EMAIL PROTECTED]
> blog: http://blog.spaziogis.it
> ----------------------------------------------------
> --
> View this message in context: 
> http://n2.nabble.com/grass-%7B-r.shaded.relief.bat-map%3DdemED50-shadedmap%3DrilievoOmbreggiato2-altitude%3D30-azimuth%3D270-zmult%3D1-scale%3D1-units%3Dmeters-%7D-tp823000p1518596.html
> Sent from the JGrass-devel -- Developer list for jgrass mailing list archive 
> at Nabble.com.
>
> _______________________________________________
> JGrass-devel mailing list
> JGrass-devel@dev.fsc.bz.it
> https://dev.fsc.bz.it/cgi-bin/mailman/listinfo/jgrass-devel
>
_______________________________________________
JGrass-devel mailing list
JGrass-devel@dev.fsc.bz.it
https://dev.fsc.bz.it/cgi-bin/mailman/listinfo/jgrass-devel

Reply via email to