Add ignore lock flag to grass command
|Reported by:||wenzeslaus||Owned by:|
|Keywords:||init, grass.py, CLI, exec||Cc:|
grass.py we have
-f flag to force removal of lock but to read only commands (list maps in Lacation or Mapset or get region from another Mapset) there is no need for removal, more precisely, it would be wrong. The right thing to do is to just ignore that the lock is there. It's up to the caller that only read only modules are called. Surely this can be used for parallel processing as well when same rules are applied as would be applied to parallel processing within GRASS session.
-f force removal of .gislock if exists (use with care!). Only with -text flag
-f force removal of .gislock if exists (use with care!) Only with -text and --exec flags -i ignore presence of .gislock if exists (use with care!) Only with -text and --exec flags. Suitable for read only modules.