title: Run ./run.ps1 script from python
body: <p>I am trying to write a python script which will run a run.ps1 PowerShell script. The run.ps1 file is located in different location entirely so I will need to cd into that folder then run the script. In Windows power shell I just need to cd into the file directory then run ./run.ps1. I am trying to simulate that process in Python.</p>
  <p>So far I have got:</p>
  <pre class="lang-py prettyprint-override"><code>import subprocess 
  subprocess.run(&quot;C:/..pathtofile/run.ps1&quot;)
  </code></pre>
  <p>This opens up that script in notepad. I want to actually run the script like I would in the terminal.</p>