Hi, I'm trying to add a feature to the Emacs grass-mode, allowing the user to create new locations interactively as they start the Grass session. The easiest way to do this would be to start a separate grass session to create the location in batch mode, then return to the normal setup procedures already in place.
I can create the location with: grass -c source_file ~/grassdata/location_name But this opens a new interactive instance of Grass, before I've had a chance to set up the Emacs processing. Using the environmental variable GRASS_BATCH_JOB requires that it point to a shell script, but I'm not sure if there is a way to install a shell script within an Emacs package that is portable among Windows, Mac and Linux. So is there a way to run a grass job in batch mode without invoking a script? Or other suggestions? Thanks! -- Tyler Smith plantarum.ca _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
