Godot Unix Exit Demo Demonstrates how to catch Unix signals in Godot with GDExtension. This was created regarding the issue Add a way to handle system signals (SIGINT, SIGHUP, …) from a script.