Menu

#107 Win32 Progress Flush Fix

open
nobody
None
5
2015-03-21
2015-03-21
MuldeR
No

On the Windows platofrm it is required to explicitly flush the STDERR after printing the progress message. Otherwise, the parent process does NOT get the progress until either the buffer is flushed implicitly (because it happens to exceeds its limits) or the SoX process terminates. So, if we want to process progress updates in "real time", we need explicit flushing!

1 Attachments

Discussion


Log in to post a comment.