[rocm-libraries] ROCm/rocm-libraries#4265 (commit 0f9b3b0)
[CK Tools] Auto-enable unbuffered output for Python commands (#4265) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ck-docker exec and ck-exec now automatically detect Python commands and set PYTHONUNBUFFERED=1 to enable live output streaming. This eliminates the need to manually set the environment variable when running Python scripts that print progress updates. The detection matches python, python3, or any .py file argument. This helps in watching live terminal output when a python script is running inside the container.
A
Aviral Goel committed
06ad66b3e442a4be67caec46dfd5e8ba9d9cb68b
Parent: b688665
Committed by assistant-librarian[bot] <assistant-librarian[bot]@users.noreply.github.com>
on 2/10/2026, 3:00:40 AM