[GRASS-dev] winGRASS: PATHEXT question

Hamish hamish_b at yahoo.com
Sat Dec 3 18:42:45 EST 2011


Martin wrote:
> when working with CLI (sh.exe) in winGRASS7, I am
> able to launch C-modules, eg.
> r.buffer2
>
> but not a python script
> r.buffer -> command not found
> 
> The user has to type
> r.buffer.py
> 
> I have checked $PATHEXT which contains beside EXE
> also PY extension.
> The problem is that sh.exe ignores PATHEXT, right?

I'm pretty sure that is correct, PATHEXT is only
recognized by DOS & cmd.exe

if sh.exe (bash) does too it will only be because
the MinGW folks have added custom support for it.
but I would guess that they won't have done that.


Hamish


More information about the grass-dev mailing list