You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(run) Fix live / streaming / flushing of output (#493)
Follow up to #485.
Live updates were broken, e.g. flushing of output during `git clone`
## Summary by Sourcery
Fix live streaming and flushing of subprocess output in `run.py` by switching to byte-mode I/O, preserving carriage returns for progress updates, and decoding output via a console-encoding fallback.
Bug Fixes:
- Restore live updating and flushing of progress output by reading raw bytes (text=False) to preserve carriage-return behavior
- Prevent Unicode errors during decoding by adding a `console_to_str` helper that tries the console’s encoding and falls back to UTF-8
Enhancements:
- Consolidate stdout/stderr line reading into byte streams trimmed and decoded with `console_to_str`
0 commit comments