Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flush stdout after subscription events #329

Merged
merged 1 commit into from
Nov 8, 2023
Merged

flush stdout after subscription events #329

merged 1 commit into from
Nov 8, 2023

Conversation

capezotte
Copy link
Contributor

Otherwise, trying to pipe its output into another command (say, jq --unbuffered) will make it buffer up events instead of feeding information in realtime.

Bonus: remove second printf.

Copy link
Owner

@ErikReider ErikReider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks and sorry for the delay :)

@ErikReider ErikReider merged commit 69e92da into ErikReider:main Nov 8, 2023
6 checks passed
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