#547: Raster query in wxGUI ---------------------+------------------------------------------------------ Reporter: hcho | Owner: [email protected] Type: defect | Status: new Priority: major | Milestone: 7.0.0 Component: wxGUI | Version: svn-trunk Resolution: | Keywords: raster, query Platform: Linux | Cpu: x86-32 ---------------------+------------------------------------------------------ Comment (by glynn):
Replying to [comment:4 hcho]: > os.environ!["GRASS_REGION"] is passed to r.what correctly only for the *first* query. After that, r.what cannot see any changes to this variable. Now, I'm puzzled... Please don't use os.environ for per-command environment settings. subprocess.Popen() has an "env" parameter; use it! -- Ticket URL: <http://trac.osgeo.org/grass/ticket/547#comment:5> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
