Capture console out.