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

C-API: add functions to overwrite stdin / stdout / stderr handlers #3145

Merged
merged 80 commits into from
Oct 17, 2022

Conversation

fschutt
Copy link
Contributor

@fschutt fschutt commented Aug 30, 2022

Fixes #2334

Continuation of PR #3032.

Adds a C-API for overwriting stdin / stdout / stderr and make them useable via pipes without depending on I/O or user input.

epilys and others added 30 commits August 5, 2022 12:35
@fschutt
Copy link
Contributor Author

fschutt commented Oct 11, 2022

john: just one thing left - the bytes_available methods are meant to be implemented and not just return Ok(())

@fschutt fschutt force-pushed the capi-wasi-overwrite-stdin-3 branch from 0d622ec to 05d74ea Compare October 17, 2022 12:10
Copy link
Member

@syrusakbary syrusakbary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: approved on behalf of @john-sharratt

@syrusakbary syrusakbary merged commit e1e08f4 into master Oct 17, 2022
@bors bors bot deleted the capi-wasi-overwrite-stdin-3 branch October 17, 2022 14:07
syrusakbary added a commit that referenced this pull request Nov 21, 2022
This reverst buggy commit e1e08f4
@syrusakbary syrusakbary mentioned this pull request Nov 21, 2022
bors bot added a commit that referenced this pull request Nov 23, 2022
3344: Revert #3145 r=fschutt a=syrusakbary

This reverts buggy commit e1e08f4 merging #3145 

Co-authored-by: Syrus Akbary <[email protected]>
Co-authored-by: Felix Schütt <[email protected]>
Co-authored-by: Felix Schütt <[email protected]>
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.

[c-api] add more functions for stdin/stderr/stdout control
4 participants