[erlang-questions] How to capture all output to console during Common Test?
PAILLEAU Eric
eric.pailleau@REDACTED
Sun Jun 11 11:53:04 CEST 2017
Le 09/06/2017 à 18:06, Max Lapshin a écrit :
> Hi.
>
> I'm running ct_run and want somehow to capture all output made to
> console (io:format, ct:print). Is it possible?
>
Hi max,
you may have a look to io_server/0 and io_server/1 in
https://github.com/erlang/otp/blob/master/lib/observer/src/observer_procinfo.erl
was done to catch 'rb' output in observer.
cheers
More information about the erlang-questions
mailing list