Using the Grails framework how would one go about reading console output. What I mean is I have a java library in my grails app that outputs(system.out.println("x")) to the console and I want to display this in a textbox in my grails app. How do I go about doing this.
I dont want to have to write the messages out to a file and read them in that way or to a database. Is there someway of directly reading from the console.
Thanks in advance.
EDIT**
Its a third party jar file that I am using