Re: [GRASS-dev] winGRASS: running several python modules in bat-files fails

2017-06-14 Thread Helmut Kudrnovsky
Helmut Kudrnovsky wrote > > Helmut Kudrnovsky wrote v.db.addcolumn map=myreg2 columns="col1 inetger" >>> >>>typo in 'inetger'? >> >> oh :-) >> >>> how does it fail? >> >> if you have several python modules listed in the bat file, only the first >> one starts, the other aren't invoked.

Re: [GRASS-dev] winGRASS: running several python modules in bat-files fails

2017-06-14 Thread Helmut Kudrnovsky
Helmut Kudrnovsky wrote >>> v.db.addcolumn map=myreg2 columns="col1 inetger" >> >>typo in 'inetger'? > > oh :-) > >> how does it fail? > > if you have several python modules listed in the bat file, only the first > one starts, the other aren't invoked. > > the reason may be: in winGRASS the

Re: [GRASS-dev] winGRASS: running several python modules in bat-files fails

2017-06-14 Thread Helmut Kudrnovsky
>> v.db.addcolumn map=myreg2 columns="col1 inetger" > >typo in 'inetger'? oh :-) > how does it fail? if you have several python modules listed in the bat file, only the first one starts, the other aren't invoked. the reason may be: in winGRASS the python scripts are invoked by bat-file

Re: [GRASS-dev] winGRASS: running several python modules in bat-files fails

2017-06-14 Thread Anna Petrášová
On Wed, Jun 14, 2017 at 8:39 AM, Helmut Kudrnovsky wrote: > 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

[GRASS-dev] winGRASS: running several python modules in bat-files fails

2017-06-14 Thread Helmut Kudrnovsky
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