Skip to content

flush sys streams on enter/exit #38

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

Merged
merged 2 commits into from
Jul 6, 2020
Merged

flush sys streams on enter/exit #38

merged 2 commits into from
Jul 6, 2020

Conversation

minrk
Copy link
Owner

@minrk minrk commented Jul 3, 2020

not just low-level streams

ensures captured sys/stdout are flushed prior to stopping capture/redirect.

I think this closes #37

not just low-level streams

ensures captured sys/stdout are flushed prior to stopping capture/redirect
@minrk minrk mentioned this pull request Jul 3, 2020
@mrzv
Copy link

mrzv commented Jul 3, 2020

Should the same be done in the flush_thread?

@minrk
Copy link
Owner Author

minrk commented Jul 6, 2020

Good call. Added.

@minrk minrk merged commit d24f50c into master Jul 6, 2020
@minrk minrk deleted the flush-on-exit branch July 6, 2020 08:12
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.

Capturing redirected output
2 participants