I am running the SimpleHTTPServer from powershell.
python -m SimpleHTTPServer 8080
I want to exit (control + break) the server without closing the terminal. Any ideas?
Thanks in advance for any suggestions
I am running the SimpleHTTPServer from powershell.
python -m SimpleHTTPServer 8080
I want to exit (control + break) the server without closing the terminal. Any ideas?
Thanks in advance for any suggestions
^C will close it (control + c)
Example of me testing control + c to send an interupt and exit:
PS C:\> python -m http.server 8080
Serving HTTP on 0.0.0.0 port 8080 ...
Keyboard interrupt received, exiting.
Note, I am using http.server as this replaces SimpleHTTPServer in Python 3 but it should work the same for you.