title: linux - check if program has died
body: <p>i wrote a program that needs to continuously run.  but since im a bad programmer it crashes every so often.  is there a way to have another program watch it and restart it when it crashes?</p>