diff --git a/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m b/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m index 79301c2..9fd83eb 100644 --- a/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m +++ b/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m @@ -81,6 +81,8 @@ int main(int argc, char *argv[]) { // Don't write bytecode; we can't modify the app bundle // after it has been signed. config.write_bytecode = 0; + // Ensure that signal handlers are installed + config.install_signal_handlers = 1; // Isolated apps need to set the full PYTHONPATH manually. config.module_search_paths_set = 1; {% if cookiecutter.python_version|minor_version >= 14 and not cookiecutter.console_app -%}