On Sat, Oct 16, 2010 at 8:26 AM, Glynn Clements <[email protected]> wrote: > Markus Neteler wrote: >> katrin eggert wrote: >>> I'm running WinGRASS and I'm obtaining a weird error when I run g.mapset: >>> ERROR: Unable to read GIS_LOCK environment variable >>> >>> How can I fix this in Win GRASS? >> ... > The underlying bug (init.bat doesn't set GIS_LOCK) is still present in > 6.5-svn. It isn't applicable to 7.0, where init.sh/init.bat have been > replaced by a Python script (which does set GIS_LOCK).
I have found this GPL program to the the PID which is needed to set GIS_LOCK: http://www.scheibli.com/projects/getpids/ Would that be of interest? Or is %RANDOM% together with something else sufficient? Markus _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
