summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts')
-rwxr-xr-xbuildscripts/hang_analyzer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildscripts/hang_analyzer.py b/buildscripts/hang_analyzer.py
index 919450e1008..633616c6ee7 100755
--- a/buildscripts/hang_analyzer.py
+++ b/buildscripts/hang_analyzer.py
@@ -43,7 +43,8 @@ if __name__ == "__main__" and __package__ is None:
def call(a, logger):
logger.info(str(a))
- process = subprocess.Popen(a, stdout=subprocess.PIPE)
+ # Use a common pipe for stdout & stderr for logging.
+ process = subprocess.Popen(a, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
logger_pipe = core.pipe.LoggerPipe(logger, logging.INFO, process.stdout)
logger_pipe.wait_until_started()