title: Python.exe stays open after running batch file in task scheduler
body: <p>I'm trying to schedule in task scheduler:</p>
  
  <ol>
  <li>Run a batch file</li>
  <li>Activate a conda environment</li>
  <li>Run a python program</li>
  <li>Exit command prompt</li>
  </ol>
  
  <p>Everything works fine, except the python.exe window will remain open while the command prompt closes.</p>
  
  <p>My batch file: (the sleep is for the python code to run. It takes a few seconds)</p>
  
  <pre><code>call activate python2
  start C:\Users\Chris\Anaconda3\envs\python2\python.exe testtest.py
  sleep 30
  exit
  </code></pre>
  
  <p>My python script:</p>
  
  <pre><code>driver = webdriver.Chrome(executable_path="C:\path\to\chromedriver")
  driver.get('http://website.com')
  
  # Find email and pw fields and then fill them in
  email = driver.find_element_by_id("user_email")
  email.send_keys('myemail@email.com')
  pw = driver.find_element_by_id("user_password")
  pw.send_keys('password')
  
  # Click on sign-in button
  driver.find_element_by_class_name("button").click()
  time.sleep(5)
  
  # Click on save button to update
  driver.find_element_by_class_name("button").click()
  
  # Close driver
  driver.close()
  </code></pre>
  
  <p>Last thing, the program/script is the batch file, no arguments, and the start in is in the directory that the batch file is in.</p>
  
  <p>Any help would be appreciated!</p>