Support redirecting stdout/stderr to the launching console.