nateraw's picture
Update about.md
25b2e77
|
raw
history blame
No virus
448 Bytes
# 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 submit
- `status_checker.py` checks if the script is done or not + also acts as the webserver spaces is looking for
- `start_server.sh` runs `your_script.py` via `nohup`, keeps track of the PID by setting it as env variable, then runs `status_checker.py`.