Python read named PIPE
In typical UNIX fashion, read(2) returns 0 bytes to indicate end-of-file which can mean: There are no more bytes in a file The other end of a socket has shutdown the connection The writer has closed a pipe In your case, fifo.read() is returning an empty string, because the writer has closed its file descriptor. … Read more