Respuesta a Alfredo Torres Bash ¿Esta bien este script para reiniciar python?
I. Hola Alfredo, intento escribirle este mensaje porque como ha ocurrido en otras ocasiones la página no permite responderle desde ningún navegador, aparece un mensaje de error cíclico al enviarle la respuesta, he comprobado que sólo ocurre con su consulta como a su vez es habitual, por esto quería intentar responderle haciéndole una pregunta. Este sería el mensaje original. Mucho ánimo.
Por mi parte sólo soy lector de la comunidad y no conozco la respuesta, pero tengo por afición buscar información y deseaba dejarle los enlaces que vi sobre su consulta, recogida en gran parte desde preguntas anteriores junto a artículos que hacen referencia a cómo reiniciar un Script en Python, con la esperanza de que pudiese serle de alguna utilidad mientras le atiende de primera mano un programador o experto.
Le ruego me disculpe por el trastorno de tanta lectura y la manera de responderle. Ánimo.
https://stackoverflow.com/questions/64767110/reload-or-restart-python-script-in-a-bash-shell
https://stackoverflow.com/questions/11329917/restart-python-script-from-within-itself
https://stackoverflow.com/questions/696839/how-do-i-write-a-bash-script-to-restart-a-process-if-it-dies
https://www-edureka-co.translate.goog/community/19998/restart-python-script-automatically-even-when-crashes-linux?_x_tr_sl=en&_x_tr_tl=es&_x_tr_hl=es&_x_tr_pto=sc
https://superuser-com.translate.goog/questions/461546/run-a-python-script-in-background-and-restart-it-on-crash?_x_tr_sl=en&_x_tr_tl=es&_x_tr_hl=es&_x_tr_pto=sc
https://unix-stackexchange-com.translate.goog/questions/107939/how-to-restart-the-python-script-automatically-if-it-is-killed-or-dies?_x_tr_sl=en&_x_tr_tl=es&_x_tr_hl=es&_x_tr_pto=sc
https://www.reiser.cl/2016/05/09/bash-script-para-iniciar-detenet-o-reiniciar-programa/
https://www.reddit.com/r/linux4noobs/comments/1km5hba/a_script_to_reboot_my_device/?tl=es-419
https://askubuntu-com.translate.goog/questions/48768/shell-script-to-restart-a-process-if-it-outputs-a-certain-piece-of-text?_x_tr_sl=en&_x_tr_tl=es&_x_tr_hl=es&_x_tr_pto=sc
https://www.reddit.com/r/learnpython/comments/ev61fq/restarting_a_python_file_from_within_itself/?tl=es-es
https://stackoverflow.com/questions/37090532/how-to-write-a-bash-script-that-runs-a-python-program-that-restarts-with-paramet
https://unix.stackexchange.com/questions/409079/bash-script-to-check-whether-python-scripts-are-running-in-screens-restart-if
https://stackoverflow.com/questions/26121346/restart-process-via-bash
https://www.reddit.com/r/learnpython/comments/rnefqj/best_way_to_automatically_restart_python_script/
https://gist-github-com.translate.goog/plieningerweb/39e47584337a516f56da105365a2e4c6?_x_tr_sl=en&_x_tr_tl=es&_x_tr_hl=es&_x_tr_pto=sc
https://askubuntu.com/questions/1482161/how-to-auto-restart-a-python-script-sometimes
https://www.reddit.com/r/learnpython/comments/rc7od3/how_do_i_restart_pythonscript_from_within_itself/?tl=es-es
https://www.paepper.com/blog/posts/bash-keep-script-running-restart-on-crash/
https://www.youtube.com/watch?v=iYG0sPWPHaw
https://forums-raspberrypi-com.translate.goog/viewtopic.php?t=332346&_x_tr_sl=en&_x_tr_tl=es&_x_tr_hl=es&_x_tr_pto=sc
https://es.stackoverflow.com/questions/469651/como-puedo-reiniciar-un-script-de-python
https://foro.recursospython.com/Thread-reiniciar-script-automaticamente?pid=1837
https://es.stackoverflow.com/questions/353529/c%C3%B3mo-regresar-al-inicio-de-un-programa-con-python
https://unix.stackexchange.com/questions/546231/restart-shell-script-if-not-printing
https://es.stackoverflow.com/questions/348646/como-volver-a-ejecutar-un-programa-en-python
https://www-paepper-com.translate.goog/blog/posts/bash-keep-script-running-restart-on-crash/?_x_tr_sl=en&_x_tr_tl=es&_x_tr_hl=es&_x_tr_pto=sc