title: Popen doesn't run my exe
body: <p><em>(Python 3)</em></p>
  
  <p>I'm trying to use popen in  a little script to run an executable</p>
  
  <p>The executable is at :
  <a href="https://github.com/Gorov/FCM_nips_workshop" rel="nofollow noreferrer">https://github.com/Gorov/FCM_nips_workshop</a></p>
  
  <p>I'm on windows and by modifying a little the github README command I can run easily the program using</p>
  
  <pre><code>RE_FCT ../data/SemEval.train.fea.sst ../data/SemEval.test.fea.sst predict.fea.fullnerpair.onlyne.txt ../data/vectors.nyt2011.cbow.semeval.filtered 5 0.005
  </code></pre>
  
  <p>The exe is RE_FCT and all the following text is just arguments</p>
  
  <p>So using a terminal it works just fine and display informations while runing</p>
  
  <p>But when I try to make it run using my little python script, it does nothing. Actually something seems runing but it never ends and doesn't display anything</p>
  
  <p>Here's my code</p>
  
  <pre><code>import subprocess
  
  
  command = ['RE_FCT', '../data/SemEval.train.fea.sst', '../data/SemEval.test.fea.sst ', 'predict.fea.fullnerpair.onlyne.txt', '../data/vectors.nyt2011.cbow.semeval.filtered', '5', '0.005']
  process = subprocess.Popen(test, cwd="fcm", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  process.wait()
  
  print() #sometimes it helps
  </code></pre>
  
  <p>Note that I'm already running another exe with similar code and it works
  Thanks in advance</p>