[GRASS-git] [OSGeo/grass] 4c35d1: grass.app: Use env in the lock program call (#5970)
Vaclav Petras
noreply at github.com
Thu Jun 26 03:05:06 PDT 2025
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 4c35d1929c1f262352e067342731e9054951b8fe
https://github.com/OSGeo/grass/commit/4c35d1929c1f262352e067342731e9054951b8fe
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2025-06-26 (Thu, 26 Jun 2025)
Changed paths:
M python/grass/app/data.py
Log Message:
-----------
grass.app: Use env in the lock program call (#5970)
While grass.py simply uses the global environment, grass.script.setup.init may use custom environment without any global runtime setup. In this case, the lock program needs to be called with that environment to load the dynamic libraries. Environment is already used to find the binary. (Other execution issues are already handled: If the program is not found, subprocess package raises an exception. Other runtime issues or issues reported by the lock program itself are handled by the caller function when reported using error code.
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list