Is it possible to restart a program from inside a program?

If you really need to restart the whole program (i.e. to “close” and “open” again), the “proper” way would be to have a separate program with the sole purpose of restarting your main one. AFAIK a lot of applications with auto-update feature work this way. So when you need to restart your main program, you simply call the “restarter” one, and exit.

Leave a Comment