I'm trying to wrap a commandline program with a java gui (x264) but I'm having difficulty getting the output stream. I have already tried the solution posted here:
java runtime.getruntime() getting output from executing a command line program
This works when I run x264.exe --help. I am able to read the help outputted by x264, but when I actually encode a video it does not get any output until the encoding is finished. I would like to be able to get the output while it is running so I can track the percent finished of x264.