stdout/stderr standardisation