Fix ``stdout/stderr`` not getting captured when real-time cli logging is active.