title: Is there a way we can execute a .bat file after driver got quite. Pytest Python Selenium
body: <p>Is there a way we can execute a .bat file after driver got quite.</p>
  <p>Unless and until the driver got close allure report folder doesn't get generated. I want to execute the .bat file to to lode allure report. Please suggest.</p>
  <p>Below is what I actually want to achieve</p>
  <pre><code>yield driver
  driver.quit()
  p = Popen(&quot;allureReportGenerator.bat&quot;, cwd=r&quot;C:\Users\slove\PycharmProjects\WebApplicationTesting_Python&quot;)
  stdout, stderr = p.communicate()
  </code></pre>