in reply to Re^2: Capturing the stdout and exit code from a program piped to perlin thread Capturing the stdout and exit code from a program piped to perl