in reply to Re: open with pipe
in thread open with pipe

Following your recommended reading, I now see that "closing any piped filehandle causes the parent process to wait for the child to finish" which solves my problem.

Thanks!