x-to-tha-t
September 19th, 2008, 12:09 PM
Hi all, I'm trying to find a way to enhance the stability of a program by ensuring that if it stops running (through crash or simple close button pressed), to restart it automatically. I've tried googling for an answer, but I can't find one anywhere.
I looked into using BASH "while true" loops but haven't had much success in getting it to work.
I'd prefer if it could be done in BASH, but I could use another scripting language (e.g. Perl or Python) if needs be. Any help on this subject would be much appreciated as I am struggling a bit on it.
btw I'm using KDE 3.5.
Thanks in advance guys!!!
X-T
I looked into using BASH "while true" loops but haven't had much success in getting it to work.
I'd prefer if it could be done in BASH, but I could use another scripting language (e.g. Perl or Python) if needs be. Any help on this subject would be much appreciated as I am struggling a bit on it.
btw I'm using KDE 3.5.
Thanks in advance guys!!!
X-T