https://winworld.pages.dev/posts/automatically-restart-a-crashed-program/
Automatically restart a crashed program