Race condition reading from Pipe

As suggested by @Sukera on Slack, the correct solution should be to replace isopen(pipe) with !eof(pipe)

1 Like