PDA

View Full Version : Way to autorestart programs?


entropy
2 Feb 2005, 6:28am
SoulSeek, for whatever dumb reason, continually crashes. Some error with ntdll.dll. But nothing else is wrong with my system. Sometimes SoulSeek will run for hours, sometimes minutes.

I like to leave it on when I leave, so it can finish downloading stuff. But it crashes :( Since there seems to be no workaround or solution, I'm out of luck. But is there a program that I can tell to restart "Program X" if it a) senses it's not running or b) (more preferable) senses it crashes? Even better would be to get Windows to do this, but I seriously doubt that.

Any suggestions? (Or ways to fix the ntdll.dll crap? :D)

TheBaron
2 Feb 2005, 7:06am
make a service out of it that is set to automatic, that way every time when it closes it should re-open. you can use the old guides for making folding a service as a guide (before they added that convenient config option)

Thrax
2 Feb 2005, 7:25am
Firedaemon would work too.

EMT
2 Feb 2005, 8:24am
Hmm... perhaps a cmd kind of script that just loops forever, and inside the loop runs the program? So as soon as the program ends, it returns to the script, reiterating the loop and reopening the program? There's almost certainly a way to do that.

Leonardo
2 Feb 2005, 9:36am
Just go with Thrax' suggestion - Firedaemon. The light version is freeware.