Issue: Redirect output to an IOBuffer

I found however that seems to be outdated… nothing works for me

what is the current recommended way to capture stdout to a variable?
E.g. by using redirect_stdout in combination with something similar to IOBuffer?

duplicate of Capturing available data written to redirected STDOUT and/or STDERR


1 Like