title: python: passing multiple parameters for Popen command
body: <p>I have spent multiple hours trying to figure out how to pass multiple parameters to python script which is supposed to be executed by subprocess.Popen without any luck. </p>
  
  <p><strong>Script:</strong> </p>
  
  <pre><code>command = ['/usr/bin/python', '/tmp/script.py mcl=NULL mtp=data mnm=DS4INST \
            mno=NULL mse=NULL mce=cll01'] 
  
  result = subprocess.Popen(command, stdout = subprocess.PIPE, \
           stderr = subprocess.PIPE)
  
  out, err = result.communicate()
  
  print out, err 
  </code></pre>
  
  <p><strong>I receive following error message:</strong> </p>
  
  <pre><code>python: can't open file '/tmp/script.py mcl=NULL mtp=data mnm=DS4INST mno=NULL \
  mse=NULL mce=cll01': [Errno 2] No such file or directory 
  </code></pre>
  
  <p>However, when I execute script directly from shell </p>
  
  <pre><code>/usr/bin/python /tmp/script.py mcl=NULL mtp=data mnm=DS4INST mno=NULL \
  mse=NULL mce=cll01
  </code></pre>
  
  <p>I receive desired output and error message isn't generated. </p>
  
  <p>Please advise.</p>