Putting messages into console window

I'm writing a plugin that launches a file in FireFox. I then want to pipe the console output of FireFox to the console window in Intellij.

1. How can I open/close the console window.
2. How can I pipe std out of a process to the console window.
3. Is there anyway I can put my own messages into the console window.

Any help would be much appreciated...

Please sign in to leave a comment.