merge stdout and stderr