Python auto re-launch script

159 Views Asked by At

My OS is OSX Maverick Python 3.x

I have a python script sample.py that I run in terminal. Sometime due to unexplained reason my script crash. Is there a way to re-launch my script automatically on crash? Thanks in advance for your help.

0

There are 0 best solutions below