[GRASS-dev] scripts don't launch GUI from the msys command line in
winGRASS
Glynn Clements
glynn at gclements.plus.com
Thu Feb 4 15:16:26 EST 2010
Helmut Kudrnovsky wrote:
> >So far, I've only seen this in Vista and am wondering if anyone else has seen it. Using the nightly build from 2 February.
> >
> >From the command line, type the name of a script, like r.blend, without arguments
> >Instead of the GUI popping up, there is an error complaining about the lack of arguments.
> >
> >It's like g.parser is not being invoked.
>
> i can confirm this changed behaviour, typing a command without arguments and no GUI popping up.
>
> tested on WinVista32 with self compiled Grass64 and Grass65
Note that if GRASS_GUI is tcltk, it won't work, due to G_popen() not
working at all on Windows (execl() works like on Unix, i.e. it doesn't
return if it succeeds; but unlike Unix, Windows doesn't have fork()).
Using the new G_popen() from 7.0 is one option.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list