I have a problem with a specific application that I am executing. The application is full-screen in the foreground. About once per day, it hangs. When it does, I can only open start menu. I cannot kill the app through Task Manager, as Task Manager opens in the background. So, as the process always has the same name, I thought to put a "kill switch" for it into the start menu. However, on the internet I only find commands to kill by PID, and the PID changes fo each execution.
Any idea on that?