I have a flask application, which I need to restart sometimes. Currently I have to manually stop the flask server and restart it. Is there a way wherein I could assign name to flask server process, so that I could kill that process and then fire the python app.py
command.
I need a way to kill only the flask server process.
Currently the flask server process is shown as python
process in windows task manager.
I need a method to kill only one process and not other python processes.
I need a solution for windows system.