Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Start SimpleHTTPServer in Background
#!/usr/bin/env bash
# Create a page in the current dir
echo "Init server..."
# Start server
python -m SimpleHTTPServer 8000 &> /dev/null &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment