From 4e008c445ab79dcc313ed4158b9bd285f7c0491c Mon Sep 17 00:00:00 2001 From: Howard Huang Date: Thu, 9 Jan 2025 13:43:33 -0800 Subject: [PATCH] Stream subprocess stdout [ghstack-poisoned] --- tests/integration_tests.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/integration_tests.py b/tests/integration_tests.py index d6655331..902b1b35 100755 --- a/tests/integration_tests.py +++ b/tests/integration_tests.py @@ -415,13 +415,7 @@ def build_test_list(): def _run_cmd(cmd): - return subprocess.run( - [cmd], - stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, - text=True, - shell=True, - ) + return subprocess.run([cmd], text=True, shell=True) def run_test(test_flavor: OverrideDefinitions, full_path: str, output_dir: str):