How to redirect Std console output to MPS's Messages Toolwindow?

At a certain point in my DSL I'm invoking a windows exe using the plain Java ProcessBuilder like so:

The underlying process writes text to the std console output. How can I redirect it's output to the standard Messages Toolwindow of MPS?

 

0

Please sign in to leave a comment.