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

process manager: fix getting command output #1045

Merged
merged 1 commit into from
Jul 4, 2024
Merged

Conversation

senko
Copy link
Collaborator

@senko senko commented Jul 4, 2024

This works around asyncio reads not having a "read available" function. Timing out a read won't return incomplete (available) output, so the workaround is to read character by character for as long as we can.

Demo

Screencast.from.2024-07-04.16-37-54.webm

…e" function

Timing out a read won't return incomplete (available) output, so the
workaround is to read character by character.
@senko senko marked this pull request as ready for review July 4, 2024 14:40
@senko senko requested a review from LeonOstrez July 4, 2024 14:40
@LeonOstrez LeonOstrez merged commit 8638ca1 into main Jul 4, 2024
6 checks passed
@LeonOstrez LeonOstrez deleted the fix-run-command-output branch July 4, 2024 16:56
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.

None yet

2 participants