diff --git a/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py b/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py index 49df74e862b6c..47e7048f96e44 100755 --- a/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py +++ b/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py @@ -23,7 +23,7 @@ os.environ["SIMCTL_CHILD_" + e] = os.environ[e] find_atos_cmd = 'xcrun -sdk iphonesimulator -f atos' -atos_path = subprocess.run(find_atos_cmd.split(), capture_output=True, check=True).stdout.decode().strip() +atos_path = subprocess.run(find_atos_cmd.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True).stdout.decode().strip() for san in ['ASAN', 'TSAN', 'UBSAN', 'LSAN']: os.environ[f'SIMCTL_CHILD_{san}_SYMBOLIZER_PATH'] = atos_path