Run Script in Background
This space is a POC to see if we can run a Python script in the background on spaces w/o calling it from python itself.
your_script.py
is a script a user might submitstatus_checker.py
checks if the script is done or not + also acts as the webserver spaces is looking forstart_server.sh
runsyour_script.py
vianohup
, keeps track of the PID by setting it as env variable, then runsstatus_checker.py
.