[GRASS-dev] winGRASS: running several python modules in bat-files fails
Helmut Kudrnovsky
hellik at web.de
Wed Jun 14 05:39:45 PDT 2017
hi,
just playing around with with running several GRASS modules in windows
bat-files.
example
test.bat with content:
REM ----------
@ECHO ON
g.region -p
v.in.region output=myreg2
v.db.addtable map=myreg2
v.db.addcolumn map=myreg2 columns="col1 inetger"
REM ----------
then copy the path to the bat-file into the winGRASS windows console, e.g.
C:\>D:\wd\test.bat
to run the bat file.
g.region, v.in.region and v.db.addtable are working, but the second python
module v.db.addcolumn fails.
I've tested it in several combinations, all binary modules are starting,
also the first python module, but never a second pthon module listed in the
bat-file.
any idea?
-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/winGRASS-running-several-python-modules-in-bat-files-fails-tp5324173.html
Sent from the Grass - Dev mailing list archive at Nabble.com.
More information about the grass-dev
mailing list