I have an application A which writes a stdout message. Now i will build a second application B which reads the stdout from A.
I don't want create a file, the message will be write in the console and should be read from console.
I know, that i have some possibilities to read from console (Scanner, System.console(), BufferedInputstream), but how can i catch the stdout from another application?