Fixed: A Named Pipe's Reader Never Finishes in a Shell Script
· 4 min read
My script fed commands to a program through a named pipe. It closed the pipe when it was done, and waited for the program to finish, and that wait never ended. Another process had a copy of the pipe open, and I'd given it that copy without noticing.
