[GRASS-dev] GRASS_ADDON_PATH in GRASS6.4 UbuntuOS

Kim Besson kimbesson1981 at gmail.com
Wed Feb 10 05:13:53 EST 2010


Greetings all

ok but... I still can't run a script, through a wxpyhon frame, that is the
ADDON_PATH. And in this case, $GRASS_ADDDON_PATH is recognized inside GRASS
environment.
My question is: is it possible to run a script, located in GRASS_ADDON_PATH,
by using a wxpython frame? Because It seems that I'm not the only one...
Or is there a way do debug this in order to sent to the mailing list?

Thank you

Kim

The "auto-GUI" feature (i.e. --ui implied when run without arguments)

> only works when the program's stdin is a terminal, which isn't the
> case for the GUI's command prompt.
>
> Making it behave like a terminal (i.e. making isatty(0) return true in
> the child process) is non-trivial[1] on Unix and practically
> impossible on Windows.
>
> [1] It's possible via os.openpty(), where available; the documentation
> says:
>
>        Availability: some flavors of Unix
>
> <http://docs.python.org/library/os.html#os.openpty>
>
> -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20100210/1f13cf6c/attachment.html


More information about the grass-dev mailing list