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

Closing Stdio Pipes #88

Open
Aidan63 opened this issue Apr 6, 2024 · 0 comments
Open

Closing Stdio Pipes #88

Aidan63 opened this issue Apr 6, 2024 · 0 comments

Comments

@Aidan63
Copy link
Owner

Aidan63 commented Apr 6, 2024

Closing stdio pipes isn't something you really want to do and has inconsistent behaviour on libuv.

libuv/libuv#2962

So, what should we do if the user calls close on one of the stdio streams in Process.current. Right now I just invoke the success callback and do nothing behind the scenese. Given that closing stdio is dangerous, and I'm not sure what what the use case of this is on the haxe side either, maybe close shouldn't be exposed here?

@Aidan63 Aidan63 changed the title ## Closing Stdio Pipes losing Stdio Pipes Apr 6, 2024
@Aidan63 Aidan63 changed the title losing Stdio Pipes Closing Stdio Pipes Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant