Skip to content

Conversation

@AviralGoelAMD
Copy link
Collaborator

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.

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.

Co-Authored-By: Claude (claude-opus-4.5) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants