msys2 / MSYS2-packages

Package scripts for MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
1.29k stars 487 forks source link

mkfifo support #1333

Closed eine closed 6 years ago

eine commented 6 years ago

As shown in https://github.com/mviereck/x11docker/issues/55#issuecomment-403639514, mkfifo seems not to be working as expected.

~# mkfifo /tmp/myfifo
~# exec 3<>/tmp/myfifo
~# echo foo >&3
bash: echo: write error: Communication error on send
~# read var <&3
bash: read: read error: 0: Communication error on send
~# cat /tmp/myfifo
cat: /tmp/myfifo: Device or resource busy
~# ls -l /tmp/myfifo
prw-rw-rw- 1 IEUser None 0 Jul  9 14:55 /tmp/myfifo

Is this a bug or an unsupported feature?

Alexpux commented 6 years ago

I think better to ask on Cygwin ML as MSYS2 runtime is Cygwin