title: Python subprocess is unstable on Windows 10?
body: <pre><code>p = subprocess.Popen([executable_file])
  </code></pre>
  
  <p>This is only code that I am using to run the python subprocess. However, it has unknown issue that cause my program cannot open the executable file as expected.</p>
  
  <p><code>executable_file</code> is one file link (PATH) that locate executable program. </p>
  
  <p>Ex. <code>C:\Users\SharkIng\Dev\WhatEverSystem\Builds\Windows\program-123456789-123456789.exe</code></p>
  
  <p>The python <code>subprocess.Popen</code> should run the program. However, sometime it works and sometime it is not (I did not change any code between this two situation)</p>
  
  <p>OS: Windows 10
  Python: 2.7.*</p>
  
  <p>Error: [Error 2] The system cannot find the file specified</p>
  
  <p><strong>BUT:</strong> It is working if you manually run <code>subprocess.Popen([executable_file_path_string])</code> (with same file and path) it work. </p>
  
  <p>WHY this happen?? Is that because some problem with Windows Python? or it is because my setting mess me up?</p>
  
  <p><strong>UPDATE:</strong> It is not some reason such as <em>NOT FULL PATH</em>. I can have it working with exact same code. If I ran same code in a python shell, by typing each line of code. It works. But if I put exact same code in a <code>.py</code> file and run it with <code>python file.py</code>, it showing the error</p>
  
  <p><strong>UPDATE 2:</strong> Another team member have same error with Windows 7 and Python 2.7.* This code used to work this morning. <strong>AGAIN</strong> I didn't change anything. That is way I am asking if it is unstable.</p>