About cmd Prompt in windows

Problem in the sense when I am reading an image and just displaying it without using any haarcascades for face detection the cmd works perfectly fine but when I do the face detection the script doesn’t terminate just like i showed in the previous screenshot!

Means you are still having the same problem that you were having previously , correct ?

Yep!
if i use sys.exit() the webcam window freezes and have to force stop
if i use destroyAllWindows() the script still keeps running and ctrl+C doesn’t work too

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.