Is there a way to call an external command line program and read Stdout un-buffered?
Have read several topics and examples but all propose the use of Process.BeginOutputReadLine() with all it's preconditions. (MSDN Process.BeginOutputReadLine)
My problem is that the program I'm calling (which I do not have the source code for) does not line break the output during execution. Resulting in that I have to wait until the execution is finished and then parse all the data at once.
Any ideas?
Had an idea to append the program I'm calling with START /B more & my_prog.com and then feeding the running process with newline on Stdin but never got it working from my program "start: /B: The system cannot find the file specified.". But seemed to work in the CMD prompt though.