readln will block. eof doesn't tell you that there is no data in the pipe, it just says whether the pipe has been closed.
Of course, I must have been thinking of another language - I should take a coffee before posting.
Is there a d-library that can handle process/named pipes on Windows and Linux? I did not found any.
