Created
September 8, 2020 16:05
-
-
Save thetrung/f60d8d01180f91ec537a2fceb4b4c9eb to your computer and use it in GitHub Desktop.
Start SimpleHTTPServer in Background
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Create a page in the current dir | |
echo "Init server..." | |
# Start server | |
python -m SimpleHTTPServer 8000 &> /dev/null & | |
pid=$! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment