title: Command Prompt doesn't close after scheduled task runs
body: <p>I have a job scheduled to run at 9:30 every day using Windows task scheduler. The problem is after it runs, the command prompt stays open. Does anyone know how to get it to close?</p>
  
  <p><a href="https://i.stack.imgur.com/k1bAI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k1bAI.png" alt="New &quot;Action&quot; window"></a></p>
  
  <p>The full text in the "Add arguments (optional):" field is:</p>
  
  <pre><code>C:\WinPython64bit\notebooks\TreasuryTest.py exit 0
  </code></pre>
  
  <p>I have searched all over, but most fixes are for use directly in the command prompt, and it seems to function differently from the task scheduler. </p>