Changeset 59210


Ignore:
Timestamp:
Mar 8, 2014, 2:27:41 AM (10 years ago)
Author:
martinl
Message:

grass.py: check if GRASS is already running

File:
1 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk/lib/init/grass.py

    r59176 r59210  
    12251225macosx = "darwin" in sys.platform
    12261226
     1227if 'GISBASE' in os.environ:
     1228    sys.exit(_("ERROR: GRASS GIS seems to be already running. Exiting."))
     1229
    12271230# Set GISBASE
    12281231os.environ['GISBASE'] = gisbase
Note: See TracChangeset for help on using the changeset viewer.