Skip to content

Commit a11b8d9

Browse files
committed
[utils] shell.run: Flush stdout/stderr after printing
1 parent da265fe commit a11b8d9

File tree

1 file changed

+2
-0
lines changed
  • utils/swift_build_support/swift_build_support

1 file changed

+2
-0
lines changed

utils/swift_build_support/swift_build_support/shell.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ def run(*args, **kwargs):
230230
if output:
231231
print(output, end="")
232232
print()
233+
sys.stdout.flush()
234+
sys.stderr.flush()
233235
if lock:
234236
lock.release()
235237

0 commit comments

Comments
 (0)