[GRASS-dev] [GRASS GIS] #3418: "Launch Script (*.sh)" doesn't work on Windows

GRASS GIS trac at osgeo.org
Mon Sep 18 13:57:28 PDT 2017


#3418: "Launch Script (*.sh)" doesn't work on Windows
--------------------------+----------------------------------
  Reporter:  kking009     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  closed
  Priority:  normal       |  Milestone:  7.2.3
 Component:  Default      |    Version:  7.2.2
Resolution:  worksforme   |   Keywords:  shell script windows
       CPU:  Unspecified  |   Platform:  MSWindows 7
--------------------------+----------------------------------

Comment (by hellik):

 Replying to [comment:7 kking009]:
 > I wasn't aware I can execute batch files from the "Grass Startup
 Console". They work perfectly!
 > With the following command it is even possible to run batch files
 without starting up Grass:
 >
 > "%ProgramFiles%\QGIS 2.18\bin\Grass72.bat" --exec MyScript.bat
 D:/myGrassData/MyLoc/MyMapset
 >
 > Nice! For me its fine to close the issue..

 I've expanded the wiki with your example:

  https://grasswiki.osgeo.org/wiki/GRASS_and_bat-files_in_windows_console

 please improve the wiki entry with your experience. thanks.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3418#comment:9>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list