
Rerun a program automatically in wsh if it dies or is shutdown
Hi,
I am trying to write a small vbs (wsh) script that respawns a program
if it is terminated...for example: if I run notepad.exe from the
script I want the script to go to sleep (or checks every 10 seconds or
so) until the program is killed or dies.
how come it is so hard!!!
Thanks heaps,
Damien