I want my program to launch another program and read std out from it..this isn't a problem. However this other program never returns it just keeps on spewing out data. I'm wanting to capture this data and stream it to a file as it's received. Is this possible? I can't do this in a loop in my program because it needs to do other processing in parallel to this task.
Any help much appreciated.