In reply to Re: How to capture STDOUT/STDERR of a function by DrHyde in thread How to capture STDOUT/STDERR of a function by johnnywang