Linux bash - infinite loop after app crash
Hi,
I need to create an infinite loop in a linux terminal - I want to run the python script python.py, which, when it closes or crashes, starts again and so on.
Hi,
an infinite loop in Linux bash to run a python script repeatedly can be like this:
I need to create an infinite loop in a linux terminal - I want to run the python script python.py, which, when it closes or crashes, starts again and so on.
REPLY
Hi,
an infinite loop in Linux bash to run a python script repeatedly can be like this:
while true; do python python.py; done