{# MasterChief template: script_execute Status: Not used by any route in main.py (the pages actually served use the copy in templates/pages.py). Kept so nothing is lost. Loaded in main.py as SCRIPT_EXECUTE_TEMPLATE = load_template('script_execute') #} {% extends "base.html" %} {% block content %}

Execute Script: {{ filename }}

Cancel
{% if result %}

Execution Result

Success: {{ result.success }}

{% if result.returncode is defined %}

Return Code: {{ result.returncode }}

{% endif %} {% if result.stdout %}

Output:

{{ result.stdout }}
{% endif %} {% if result.stderr %}

Errors:

{{ result.stderr }}
{% endif %} {% if result.error %}
{{ result.error }}
{% endif %} {% endif %}
{% endblock %}