Temporarily isable output to IEx shell

Hi,

So I have a helper module that I load onto a remote IEx shell session that allows my to debug a product. Some of the functions do a lot of work such as sending lots of messages (some quite large). The output all gets vomited over the IEx shell and it makes it look like a mess.

Is there anyway I can stop this from happening? I tried spawning another process to do the work, but since it inherits the same group leader it made no difference.

Does anyone have any suggestions?

Thanks