[GRASS-dev] Handling of Python scripts on MS Windows

Helmut Kudrnovsky hellik at web.de
Mon Feb 10 09:54:26 PST 2014


wenzeslaus wrote
> If I remember correctly, Python scripts were not working from Python
> scripts, they were working from command line. And we were not able to
> explain why the right Python (or Python DLL) is used at one point but not
> the other. If there wouldn't be shell=True [1], I would say that we need
> to
> add it.
> 
> [1]
> http://trac.osgeo.org/grass/browser/grass/trunk/lib/python/script/core.py?rev=58952#L52

please see
http://lists.osgeo.org/pipermail/grass-dev/2014-February/067307.html and 
http://trac.osgeo.org/grass/ticket/2138

Python scripts _are_ working from Python scripts, if e.g. in a related
bat-file GRASS_PYTHON is defined.



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Handling-of-Python-scripts-on-MS-Windows-tp5081335p5103009.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


More information about the grass-dev mailing list