title: Python subprocess.call() in an .exe
body: <p>I just made a python program I wrote into an exe using py2exe.
  Before, this code:</p>
  
  <pre class="lang-py prettyprint-override"><code>import subprocess
  subprocess.call("C:\Windows\system32\cmd.exe", shell=True)
  </code></pre>
  
  <p>opened command prompt. Now, when called in the exe, it gives "The System cannot find the path specified".</p>
  
  <p>I'm at a loss as to why it would do this, since the path to command prompt is not changing.
  Can anyone help me?</p>
  
  <p>Edit: To put things into perspective, the project this is a part of can be found <a href="https://github.com/olekgierczak/PCSpeechControl" rel="nofollow">here</a>. The paths.txt is where the path that is being executed is. SpeechControl.py is the main file. What I want to emphasize is that when running the python script through the python command line or cmd, it DOES work completely fine, but when I make it an executable using py2exe, it does not. 
  The idea of the program is that an executable can be run on voice command, and having cmd.exe was just an example. I didn't mention this, but I was also testing a path to spotify, which in my case is "C:/Users/Olek/AppData/Roaming/Spotify/spotify.exe". It gave the same "The System cannot find the path specified" message.</p>