title: How to run minecraft server from python?
body: <p>I cant figure out how to start the server using a python command.</p>
  
  <pre><code>s = subprocess.Popen('"D:\MC SERVER 2k19\server.jar" -jar server.jar java', stdin=subprocess.PIPE, stdout=subprocess.PIPE, shell=True)
  </code></pre>
  
  <p>This code runs without error but doesn't start the server in cmd.</p>
  
  <p>Thanks.</p>