Spaces:
Sleeping
Sleeping
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.pyis a script a user might submitstatus_checker.pychecks if the script is done or not + also acts as the webserver spaces is looking forstart_server.shrunsyour_script.pyvianohup, keeps track of the PID by setting it as env variable, then runsstatus_checker.py.