setbuf(stdout, NULL);
may do that as well
Edit: for reference: Do not buffer stdout when rawtherapee.exe is called from msys2 consol… · Beep6581/RawTherapee@eab7483 · GitHub
setbuf(stdout, NULL);
may do that as well
Edit: for reference: Do not buffer stdout when rawtherapee.exe is called from msys2 consol… · Beep6581/RawTherapee@eab7483 · GitHub