Skip to content

Commit

Permalink
Stream subprocess stdout
Browse files Browse the repository at this point in the history
ghstack-source-id: c7e14e5ed4b3fcf735245bc9f2aeec0fdd505dd1
Pull Request resolved: pytorch#783
  • Loading branch information
H-Huang committed Jan 10, 2025
1 parent 90567fc commit a04662f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit a04662f

Please sign in to comment.