[Bug 48266] Regression with redirecting stdout from native app