| Main > Software Forum |
| SOLUTION? - Does anyone know how to automatically restart a program if closed?? |
| (1/2) > >> |
| marknetwork:
Hello, I am building a Golden Tee cabinet and will be basing it off of the Windows Version of Golden Tee, but unfortunately it gives the option of exiting the program. I've been looking for a solution to automatically reload the program if someone exits. Is there a script or a program available to do this? Someone hits exit, or program crashes >> Program automatically restarts if closed Anyone?? Anything?? Please oh please I have been looking forever!! Thanks, Mark |
| headkaze:
Try a batch file, something like: --- Code: ---@ECHO OFF :START goldentee.exe GOTO START --- End code --- |
| Bill Mote:
Years ago there was a "watchdog" or "daemon" service that would monitor a process and restart it if it died. After several consecutive failures it would reboot the machine. I just did a quick search and didn't see anything but what you're looking for does exist. Search around "watchdog", "daemon", and "critical service monitoring." dot |
| marknetwork:
--- Quote ---Try a batch file, something like: Code: @ECHO OFF :START goldentee.exe GOTO START --- End quote --- THIS WORKED PERFECTLY! THANK YOU SO MUCH!!!!! :) Mark |
| Havok:
That doesn't fire off multiple instances of the executable? |
| Navigation |
| Message Index |
| Next page |