is there any free utility which will automatically restart user program after crashing ?
thanks for help
+ Reply to Thread
Results 1 to 6 of 6
-
-
I tend to double-click on the icon for the program if there's one on the desktop, or select the program from the list of programs from the "Start" menu.
There is some corner of a foreign field that is forever England: Telstra Stadium, Sydney, 22/11/2003.
Carpe diem.
If you're not living on the edge, you're taking up too much room. -
Maybe there is one but I don't know any. In a simple scenario it should be easy to write. All it needs to do is to periodically poll to see if a particular window is open and if not it executes the task you want. I wrote a small program in vb that checks if a graphedit graph is loaded based on it's caption and if it is then it runs the graph using graphedit. The same principle could be applied to any window and any program could be run that way.
So this watcher program would check for the existence of your program's window in memory and it would execute your program's exe if it didn't find it. The watcher program would have to keep polling so the loop can't be too tight depending on how much of a delay you can put up with. There are other ways to check for the existence of running tasks that's just one way it could be done.
Now if it crashes but stays in memory that's a little more difficult but with some thought it might not be impossible. Some programs produce feedback information to indicate they are working if you can tap into that info with the watcher program then you might be able to see if the original program is hung and then terminate it and restart it. Lot's of possibilities to consider so it's not always so simple.
A little more info about what program you want to restart might be helpful. -
www.google.com is free to use. It's a great website for searching for things.
http://www.google.com.au/search?hl=en&q=auto+restart+application&btnG=Google+Search&meta=
The second link looks promising...There is some corner of a foreign field that is forever England: Telstra Stadium, Sydney, 22/11/2003.
Carpe diem.
If you're not living on the edge, you're taking up too much room. -
What about run as a service?
BTW, you can set a service to restart a certain number of times and certian waiting period after it stops
Similar Threads
-
Program like MTR for a PC (from a Mac user persepective)
By danielmak in forum MacReplies: 1Last Post: 17th Jun 2011, 21:23 -
Looking for free DVD test program
By ozstar100 in forum MediaReplies: 5Last Post: 16th May 2010, 09:07 -
New user program crashs upon start of conversion
By Randall_C in forum SVCD2DVD & VOB2MPGReplies: 2Last Post: 22nd Sep 2009, 09:16 -
Vegas Pro 8 user with questions about program (and possible camera settings
By chuchunezbie in forum Newbie / General discussionsReplies: 0Last Post: 27th Apr 2009, 16:32 -
Is there a program that automatically syncs subs to video?
By architectofpain in forum SubtitleReplies: 3Last Post: 20th Nov 2008, 21:27