<div dir="ltr">> <span style="font-size:12.8px">Have you tried to do it?</span><br><br>Yeah, I captured by such manner all IO from custom erlang shell that I started by shell:start/2.<br>I didn't tried to do it with Common Test though.<br><br>Here is module of my own IO server process, just for example: <a href="https://gist.github.com/vladimir-vg/ab5a2096759e24e8f6d51386f043430e">https://gist.github.com/vladimir-vg/ab5a2096759e24e8f6d51386f043430e</a><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 13, 2017 at 10:56 PM, Max Lapshin <span dir="ltr"><<a href="mailto:max.lapshin@gmail.com" target="_blank">max.lapshin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-">On Sat, Jun 10, 2017 at 10:14 AM, Vladimir Gordeev <span dir="ltr"><<a href="mailto:gordeev.vladimir.v@gmail.com" target="_blank">gordeev.vladimir.v@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-m_1005675678595049478HOEnZb"><div class="gmail-m_1005675678595049478h5"><div dir="ltr">Well, it's possible to start your own Erlang IO server, start it in ct 
hook during init, and then make it as a group leader for root ct 
process.<br><br><a href="http://erlang.org/doc/apps/stdlib/io_protocol.html" target="_blank">http://erlang.org/doc/apps/std<wbr>lib/io_protocol.html</a><br><br>So just start your own process that handles io_reply, io_request, and then<br><br>erlang:group_leader(MyCustomIO<wbr>ServerPid, CtRootPid),</div></div></div></blockquote><div><br></div><div><br></div></span><div>Have you tried to do it?</div></div></div></div>
</blockquote></div><br></div></div>