[GRASS-SVN] r73238 - grass/trunk/lib/python/script

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 3 13:44:12 PDT 2018


Author: mmetz
Date: 2018-09-03 13:44:12 -0700 (Mon, 03 Sep 2018)
New Revision: 73238

Modified:
   grass/trunk/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

Modified: grass/trunk/lib/python/script/core.py
===================================================================
--- grass/trunk/lib/python/script/core.py	2018-09-03 20:17:54 UTC (rev 73237)
+++ grass/trunk/lib/python/script/core.py	2018-09-03 20:44:12 UTC (rev 73238)
@@ -80,7 +80,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