Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
nateraw
/
run-script-in-background
like
2
Sleeping
App
Files
Files
Community
1
7af5047
run-script-in-background
/
start_server.sh
nateraw
Update start_server.sh
41941e3
over 1 year ago
raw
Copy download link
history
blame
171 Bytes
#!/bin/bash
# Start the python script in the background asynchronously
nohup
python your_script.py &
# Start a simple web server on port 5000
python -m http.server 7860