-
Notifications
You must be signed in to change notification settings - Fork 82
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
createPipe
doesn't work on Windows
#181
Comments
I don't have easy access to a Windows machine right now to test this out, and honestly don't have any ideas on what might be causing this. @Mistuke any thoughts? |
Mistuke
added a commit
to Mistuke/process
that referenced
this issue
Jun 7, 2020
Fixes haskell#181, the documentation seems to have been misread, the argument to `_pipe` is the number of bytes to reserve for pipe communications, not the number of pipes to create. This ended up making pipes that can only send 2 bytes at a time. Instead use 8k which is the size of the internal Buffers in `Base` which back `I/O` calls.
Released on Hackage. Thanks @Mistuke! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example program:
This prints
"233"
on Linux/macOS, but the program hangs indefinitely on Windows. Tested againstghc-8.10.1
which shipsprocess-1.6.8.2
, both on my Windows 10 laptop and on GitHub Actions.The text was updated successfully, but these errors were encountered: