-
Notifications
You must be signed in to change notification settings - Fork 824
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
C-API: add functions to overwrite stdin / stdout / stderr handlers #3032
Conversation
26db0dd
to
298d224
Compare
298d224
to
226de59
Compare
bab041e
to
cc54f16
Compare
02d678f
to
7cbfe50
Compare
@epilys as you requested, I separated the fixes from clippy and |
7cbfe50
to
1778874
Compare
1778874
to
f1a3350
Compare
@syrusakbary this needs a manual merge as well |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we may need a meeting to discuss this further. I see as an issue that we are operating just in terms of specific structs (STDIN, STDOUT, STDERR), rather than in terms of pipes.
I'd like the API to be pipe based, as I think it will be more resilient also for other kind of filesystem things. Let's discuss
You can store pipe objects inside of the structs, the current approach is much more flexible than locking the approach to pipes. I could add code to add a |
Fixes #2334
Review