Prechádzať zdrojové kódy

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

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@73238 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 6 rokov pred
rodič
commit
c6e774daf0
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      lib/python/script/core.py

+ 1 - 1
lib/python/script/core.py

@@ -80,7 +80,7 @@ STDOUT = subprocess.STDOUT
 
 
 
 
 raise_on_error = False  # raise exception instead of calling fatal()
 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):
 def call(*args, **kwargs):