Easily capture stdout, stderr at runtime