do not print empty stdout and stderr