[GRASS-git] [OSGeo/grass] 29e1cb: python scripting lib: fix run_command(error='statu...
Anna Petrasova
noreply at github.com
Sat Sep 4 19:42:49 PDT 2021
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 29e1cb07f52c2bb562582238514b04bfc8d4f32b
https://github.com/OSGeo/grass/commit/29e1cb07f52c2bb562582238514b04bfc8d4f32b
Author: Anna Petrasova <kratochanna at gmail.com>
Date: 2021-09-04 (Sat, 04 Sep 2021)
Changed paths:
M python/grass/script/core.py
Log Message:
-----------
python scripting lib: fix run_command(error='status') not returning 0 (#1839)
With this fix run_command when called with errors='status' will always return the return code (even if completed successfully).
Also fixes write_command error handling behavior.
More information about the grass-commit
mailing list