In reply to Re^2: How to tell if a pipe opened for reading has data to be read by dk in thread How to tell if a pipe opened for reading has data to be read by Anonymous Monk