Thanks for this. My actual app uses three separate threads, one for stdout/stderr and waitfor.
I'm starting to think that this is due to some terminal initialisation (like noecho()) done in the console application. I tyhink i read somewhere that a process launched from a
java program isn't attached to any terminal..
So a solution would be to launch something like xterm -e "ConsoleApp"
The only thing is that i'd like to hide the window that shows up after that call. Any idea ?