title: Invoke SOLR post tool command using Python subprocess
body: <p>I want to invoke this SOLR post command through Python subprocess:</p>
  
  <pre><code>/u01/tony/solr-7.5.0/bin/post -c techproducts /u01/tony/data/bbc/politics/*.txt -params "literal.keywords=politics"
  </code></pre>
  
  <p>I tried firing this using python subprocess module as follows:</p>
  
  <pre><code>subprocess.run(["/u01/tony/solr-7.5.0/bin/post -c techproducts /u01/tony/data/bbc/politics/*.txt -params", "literal.keywords=politics"], stdout=PIPE, stderr=PIPE)
  </code></pre>
  
  <p>But this throws the following error:</p>
  
  <pre><code>FileNotFoundError: [Errno 2] No such file or directory: '/u01/tony/solr-7.5.0/bin/post -c techproducts /u01/tony/data/bbc/politics/*.txt -params': '/u01/tony/solr-7.5.0/bin/post -c techproducts /u01/tony/data/bbc/politics/*.txt -params'
  </code></pre>