Jesse Luo
Jesse Luo

Reputation: 137

how to exit "python manage.py runserver" in windows

How can I exit from the command line after executing:

python manage.py run server 8080

I already tried Ctrl+C and Ctrl+Z but neither worked. Using gitbash instead of cmd changed nothing.

I am using Windows (64 bit).

A Screenshot from my command line

Upvotes: 2

Views: 9338

Answers (5)

Sidrah Madiha Siddiqui
Sidrah Madiha Siddiqui

Reputation: 1374

On Windows 10 powershell, we use Ctrl + Shift + C ;note that this is capital C here; for exiting after python manage.py runserver and returning to prompt.

Upvotes: 0

Jim
Jim

Reputation: 23

Try CTRL + SHIFT + C instead of just CTRL + C as this will Capitalize the C.

Upvotes: 2

thebjorn
thebjorn

Reputation: 27351

Ctrl + Break is the magic combination if Ctrl-C doesn't work.

Upvotes: 8

hgoscenski
hgoscenski

Reputation: 281

Ctrl-C works in most instances, you could also try Ctrl-D if it does not.

Upvotes: 0

Ariful Haque
Ariful Haque

Reputation: 163

I believe Ctrl+C should work. It works in Linux terminal.

Upvotes: 0

Related Questions