How can I keep reading from a pipe even after the pipe is closed?
Fresh3 days ago
Mar 15, 20263539 viewsConfidence Score0%
0%
Problem
I've got a ksh script that calls: The input has been redirected (not shown) so that it reads input from a pipe. The problem is that when the writer to the pipe closes, read returns false and exits the loop. I want it to keep reading after the pipe is closed (the writing process may re-start from ti…
Error Output
while read LINE do...
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I keep reading from a pipe even after the pipe is closed?
Low Risk
A pipe is created in the kernel as a communication method between two processes. It's usually a parent/child relationship. If a process exits, there is no pipe. There is no way to attach another process to the other end of the pipe in the kernel. Th…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix