From 65279d33000f6f505e063699818aabe940b6a367 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Wed, 13 Jul 2016 15:05:38 -0400 Subject: [PATCH] 9567: Print log messages from keep et al. as they appear, even in jenkins where stdout is not a tty. --- sdk/python/tests/run_test_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/python/tests/run_test_server.py b/sdk/python/tests/run_test_server.py index 155bcedc62..8f2d4406fe 100644 --- a/sdk/python/tests/run_test_server.py +++ b/sdk/python/tests/run_test_server.py @@ -192,7 +192,7 @@ def _fifo2stderr(label): raise os.mkfifo(fifo, 0700) subprocess.Popen( - ['sed', '-e', 's/^/['+label+'] /', fifo], + ['stdbuf', '-i0', '-oL', '-eL', 'sed', '-e', 's/^/['+label+'] /', fifo], stdout=sys.stderr) return fifo -- 2.30.2