We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import wurlitzer with open("log", "w") as f, wurlitzer.pipes(f): print("foo") print("bar")
In 3.0.3, it will print bar. But in 3.1.0 it will print nothing and bar is also in log. Tested on MacOS and Linux.
bar
log
The text was updated successfully, but these errors were encountered:
import os import wurlitzer cpid = os.fork() if cpid == 0: with open("log", "w") as f, wurlitzer.pipes(f): print("foo") else: os.waitpid(cpid, 0) print("bar")
For this code, 3.1.0 seems to be right. But 3.0.3 puts nothing in log file.
Sorry, something went wrong.
Thanks! Tested and fixed by #89
released 3.1.1 with the fix
Successfully merging a pull request may close this issue.
In 3.0.3, it will print
bar
. But in 3.1.0 it will print nothing andbar
is also inlog
. Tested on MacOS and Linux.The text was updated successfully, but these errors were encountered: