# MethodError: no method matching (::Base.RedirectStdStream)(::IOBuffer)

**URL:** <https://discourse.julialang.org/t/methoderror-no-method-matching-base-redirectstdstream-iobuffer/116725>\
**Category:** General Usage\
**Tags:** question\
**Created:** [July 7, 2024, 3:10pm UTC](https://discourse.julialang.org/t/methoderror-no-method-matching-base-redirectstdstream-iobuffer/116725 "2024-07-07T15:10:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![schlichtanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/schlichtanders/32/32145_2.png) [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Post date:** [July 7, 2024, 3:10pm UTC](https://discourse.julialang.org/t/methoderror-no-method-matching-base-redirectstdstream-iobuffer/116725/1 "2024-07-07T15:10:13Z")

</div>

couldn’t find anything about this using googling

Does anyone know, why redirect\_stdout cannot be used with IOBuffer? Is there a simple workarond?
