Best way to detect an application crash and restart it?
Best way is to use a named mutex. Start your application. Create a new named mutex and take ownership over it Start a new process (process not thread) or a new application, what you preffer. From that process / application try to aquire the mutex. The process will block When application finish release the mutex … Read more