Execute another application, then monitor whether it's running, and terminate it if I want
How would I go about this:
I want to have a 'monitoring' application with these 3 methods:
1. Run another application, for example let's say C:\Windows\system32\calc.exe
2. With a timer, every 500ms I need to check if it's still running, if not, execute it again.
3. Using a button, I want to terminate it