{% if output and output.strip() %}
{{ output }}
{% else %}
Script produced no stdout/stderr output.
{% endif %}