Using stdout if stderr is empty