Hello everyone, new to the forum and needed some help.

I need to create a program that checks to see if a certain process is running, but I need to check it at a predetermined interval, such as every 10 seconds. I also need it to relaunch the program if it disappears/crashes.

I have no idea where to start, I'm assuming I'd have to use a timer and write a method that checks for this process and then another method to simply launch it.