Hello there,
Basically I would like to run the server and stop it by a program, it is hard, when the default way is literally "pressing ctrl+C",
killing the process is different on different OS'es.
When searching the web (StackOverflow) users replies to individual answers were "This worked for me." or "This didn't work for me.",
this showcases that different conditions make it hard to get to actually stopping the server.
A unified solution would be very nice. If we want to keep "python manage.py runserver" together with "press ctrl+C to quit",
then I would suggest a new command, let's call it "startserver", that would be non-blocking, running subprocess, or something,
once the user is done he simply calls "stopserver" to stop it.
"startserver" vs "runserver" might be similar for some, suggest different command name if you like.
It is only my suggestion, I don't care if it will be more complicated as long as it will "just work" on all OS'es and will be clear to use.
Thanks for your time and consideration
Antonín Drdácký