how can i stop the: python manage.py runserver?

12,797 views
Skip to first unread message

geezer

unread,
Oct 15, 2008, 4:03:55 PM10/15/08
to Satchmo users
hi, how can the: python manage.py runserver be stopped if your
terminal was disconnected, and when re-logging you are not provided
with the "stop the server with control-c option"?

Any help would be greatly appreciated, thanks.

David Lindquist

unread,
Oct 15, 2008, 4:38:17 PM10/15/08
to satchm...@googlegroups.com
1. log back into your shell
2. enter the following command: ps
3. note the process ID (PID) of the running server you want to terminate
4. enter the following command: kill -s INT <PID> (replace <PID> with
actual process ID)

Matthew Marshall

unread,
Oct 15, 2008, 4:45:38 PM10/15/08
to satchm...@googlegroups.com
You can also use pkill:

$ pkill -f "python manage.py runserver"

MWM

Reply all
Reply to author
Forward
0 new messages