I have a bat file that used to execute powershell scripts and using the EXIT it would at the end close the cmd window. Since i switched the powershells with python-selenium scripts it completely ignores all the EXITs and stays open forever. Any ideas to close the window?
in the BAT:
C:\Users\...\python.exe C:\Users\...\seleniumskript.py
EXIT
The EXIT does not execute...
The python script:
from selenium.webdriver import Edge
driver = Edge()
...doing stuff
driver.close()
quit()