From a04662f76fd22c1555032dd040abf1972201dfda Mon Sep 17 00:00:00 2001 From: Howard Huang Date: Thu, 9 Jan 2025 13:43:35 -0800 Subject: [PATCH] Stream subprocess stdout ghstack-source-id: c7e14e5ed4b3fcf735245bc9f2aeec0fdd505dd1 Pull Request resolved: https://github.com/pytorch/torchtitan/pull/783 --- 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):