Skip to content

Fix stdio redirections for the Julia 1.7 API breakage#14

Merged
c42f merged 2 commits intomainfrom
cjf/fix-redirect-stdio
Jan 14, 2022
Merged

Fix stdio redirections for the Julia 1.7 API breakage#14
c42f merged 2 commits intomainfrom
cjf/fix-redirect-stdio

Conversation

@c42f
Copy link
Copy Markdown
Owner

@c42f c42f commented Jan 14, 2022

Base.redirect_stdout etc are no longer generic functions, so it's not
possible to overload these anymore. Instead it's necessary to overload
the function object Base.RedirectStdStream.

XRef:

And solutions in other packages

Base.redirect_stdout etc are no longer generic functions, so it's not
possible to overload these anymore. Instead it's necessary to overload
the function object Base.RedirectStdStream.
@c42f c42f force-pushed the cjf/fix-redirect-stdio branch from ee5774d to 1e4eb3a Compare January 14, 2022 04:48
Also fix CI to not run on every push, but only PRs + master/tags
@c42f c42f force-pushed the cjf/fix-redirect-stdio branch from 1e4eb3a to b25dc00 Compare January 14, 2022 04:52
@c42f c42f merged commit 4b4b885 into main Jan 14, 2022
@c42f c42f deleted the cjf/fix-redirect-stdio branch January 14, 2022 04:58
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.

1 participant