#2579: Specify command to be exectued as parameter of grass command
----------------------------------------------+-----------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Startup | Version: svn-trunk
Keywords: batch job, GRASS_BATCH_JOB, init | Platform: All
Cpu: Unspecified |
----------------------------------------------+-----------------------------
Comment(by wenzeslaus):
Setting up the session manually is really challenging,
[http://grasswiki.osgeo.org/w/index.php?title=Working_with_GRASS_without_starting_it_explicitly&diff=next&oldid=20818
setting up addons path] is yet another step which should be done if you
want have fully working session:
{{{
#!diff
+ # add path to GRASS addons
+ home = os.path.expanduser("~")
+ os.environ['PATH'] += os.pathsep + os.path.join(home, '.grass7',
'addons', 'scripts')
}}}
Any other opinions about how the command line interface should look like?
Use cases would be also appreciated.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2579#comment:9>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev