in reply to STDOUT and SWIG

Sounds like the API reopens the original STDOUT, in that case you should rewrite the API.

T I M T O W T D I