✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Is there any way to stop the dash script running on cmd when the app is closed on the browser?

I am running a dash application through cmd and I need to exit the py script on the cmd after closing the tab on the browser (https// on which the dash application is running. Any idea how to do that?

Related SO question: https://stackoverflow.com/questions/62839963/how-to-close-command-line-window-after-closing-script-running-on-web-browser