Just found [this on 
StackOverflow](https://stackoverflow.com/questions/40022586/is-it-possible-to-restart-a-program-from-inside-a-program).

Have you played _Minecraft_?

The game has a "launcher" that gets started to manage the game session, and it 
can restart the game if it crashes. Anyway, you could make a launcher (no GUI 
or user input needed of course) in Nim. The launcher could then call the main 
executable with `exec()`.

Reply via email to