I have a named pipe made with mkfifo /dev/shm/pip and I want to write to it using a filestream, str:tfilestream;.
My program however hangs on str:=tfilestream.Create(fn,fmOpenWrite); without any message or exception.
I have no problem writing to the pipe if I open it as a textfile for writing or with fpsystem('echo "abc" > /dev/shm/pip'); and reading it with for instance cat /dev/shm/pip.
What is it that I haven't understood?
Håkan
on Lazarus 4.6 on FPC 3.2.2 on Ubuntu 22.04