Right if this method is also run from the container, as I think the application server would intercept it.

If not anything works for me, I'd be happy to pipe the output: this is primarily a command line tool.