Yes - I did use the $! afterwards - sorry that wasn't in the code there. That's how I found out it was a "Bad File Descriptor" error message. Until then I didn't have anything. I saw the "|-" usage when I was looking into this problem too - maybe I'll change it to that. Any thoughts about the cause of the error message?