If I redirect the console output using the standard method, it works fine if the process outputs all its information and then exits quite soon. But for processes that output information as they are processing, for instance osql.exe when processing a large job, it doesn't seem that any of the read methods on StandardOutput are able to get the output before the process has exited
Is this normal behaviour, and how can I get around it to put the output in (say) a listbox while the process is still running
What determines when the output can be 'read' by the redirection
Thanks