[GRASS-SVN] r73240 - grass/branches/releasebranch_7_4/lib/python/script

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 3 14:00:40 PDT 2018


Author: neteler
Date: 2018-09-03 14:00:40 -0700 (Mon, 03 Sep 2018)
New Revision: 73240

Modified:
   grass/branches/releasebranch_7_4/lib/python/script/core.py
Log:
libpython: by default, no error output is produced even though the output in case of failure reads "Process ended with non-zero return code 1. See errors in the (error) output.", change default to cpature and report error output (backport trunk r73238)

Modified: grass/branches/releasebranch_7_4/lib/python/script/core.py
===================================================================
--- grass/branches/releasebranch_7_4/lib/python/script/core.py	2018-09-03 20:45:21 UTC (rev 73239)
+++ grass/branches/releasebranch_7_4/lib/python/script/core.py	2018-09-03 21:00:40 UTC (rev 73240)
@@ -78,7 +78,7 @@
 
 
 raise_on_error = False  # raise exception instead of calling fatal()
-_capture_stderr = False  # capture stderr of subprocesses if possible
+_capture_stderr = True  # capture stderr of subprocesses if possible
 
 
 def call(*args, **kwargs):



More information about the grass-commit mailing list