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

Use redirect_stdout to restore stdout #31

Merged
merged 1 commit into from
Sep 23, 2023
Merged

Conversation

GregPlowman
Copy link
Contributor

Attempt to fix #30

Use redirect_stdout to restore stdout

I think (but I'm not sure) that stdin is already redirected from TTY, so restoring stdin seems unnecessary, and caused error with redirect_stdin(old_stdin)

I'm not confident that this is correct, but it seems to compile and pass tests locally for me on both Julia v1.6.7 and Julia v1.9.3.
Would recommend a review from someone who understands this stuff.

Use redirect_stdout to restore stdout
@ronisbr
Copy link
Owner

ronisbr commented Sep 23, 2023

Hi @GregPlowman !

Thanks! LGTM!

@ronisbr ronisbr merged commit d70b64c into ronisbr:main Sep 23, 2023
7 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.

LoadError: cannot assign variables in other modules
2 participants