Update about.md
Browse files
about.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1 |
-
#
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
1 |
+
# Run Script in Background
|
2 |
|
3 |
+
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.
|
4 |
+
|
5 |
+
- `your_script.py` is a script a user might submit
|
6 |
+
- `status_checker.py` checks if the script is done or not + also acts as the webserver spaces is looking for
|
7 |
+
- `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`.
|