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

Using TempDir to open a FIFO with contents does not work #1

Open
jdidion opened this issue Nov 3, 2016 · 0 comments
Open

Using TempDir to open a FIFO with contents does not work #1

jdidion opened this issue Nov 3, 2016 · 0 comments

Comments

@jdidion
Copy link
Owner

jdidion commented Nov 3, 2016

Python blocks when opening a FIFO for writing until it is first opened for reading by another process, so we don't write contents if the tempfile is a FIFO.

It's possible to get around this using a subprocess to pipe through a buffering program (such as pv) to the FIFO instead.

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

No branches or pull requests

1 participant