title: Python run shell command over specific folder
body: <p>First of all, my company uses a 2.7.x version of python.
  And I want to run a shell command on a specific folder.</p>
  
  <pre><code>$ cd path/to/folder &amp; command
  </code></pre>
  
  <p>And I also get the result strings.</p>
  
  <p>I've tried like below.</p>
  
  <pre><code>result = subprocess.Popen("cd path/to/folder &amp; command")
  </code></pre>
  
  <p>But there is an error.</p>
  
  <pre><code>File "C:\Python27_x64\lib\subprocess.py", line 711, in __init__ errread, errwrite)
  File "C:\Python27_x64\lib\subprocess.py", line 959, in _execute_child startupinfo)
  WindowsError: [Error 2] The system cannot find the file specified
  </code></pre>
  
  <p>How can I resolve this?</p>