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

Program freeze when opening empty named pipe #29867

Open
Dook97 opened this issue Jul 26, 2024 · 0 comments
Open

Program freeze when opening empty named pipe #29867

Dook97 opened this issue Jul 26, 2024 · 0 comments
Labels
bug issues reporting wrong behavior filesystem file metadata/attributes, filenames, path manipulation io system OS resources, pipes, streams
Milestone

Comments

@Dook97
Copy link

Dook97 commented Jul 26, 2024

Problem

When opening a named pipe neovim remains unresponsive even after the producer(s) finish writing and close their end of the pipe.

Steps to reproduce

mkfifo pipe
nvim --clean ./pipe

from another terminal:

cowsay 'I love neovim!' >./pipe

Expected behavior

Should work the same as with an unnamed pipe (... | nvim -)

After the producers close their write ends neovim should load the data into a buffer and start accepting user input.

Neovim version (nvim -v)

NVIM v0.10.1 Build type: Release LuaJIT 2.1.1720049189

Vim (not Nvim) behaves the same?

yes, 9.0 Included patches: 1-1378, 1499

Operating system/version

Linux 6.6.41-1-lts #1 SMP PREEMPT_DYNAMIC, x86_64 GNU/Linux

Terminal name/version

st 0.9

$TERM environment variable

xterm-256color

Installation

pacman (extra)

@Dook97 Dook97 added the bug issues reporting wrong behavior label Jul 26, 2024
@zeertzjq zeertzjq added the io label Jul 26, 2024
@justinmk justinmk added system OS resources, pipes, streams filesystem file metadata/attributes, filenames, path manipulation labels Aug 16, 2024
@justinmk justinmk added this to the backlog milestone Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issues reporting wrong behavior filesystem file metadata/attributes, filenames, path manipulation io system OS resources, pipes, streams
Projects
None yet
Development

No branches or pull requests

3 participants