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