title: Stop a minecraft server from an other cmd windows
body: <p>i want to stop a Minecraft server (java) from an empty cmd window (in the server window, we just can type &quot;stop&quot; to stop the server),
  because I want to automatize the start and the stop of the server with os library with :</p>
  <pre><code>os.system(&quot;the command i search&quot;)
  </code></pre>
  <p>I don't want to kill the task , because with this method, the server is not stopped properly, and we lost a lot of data.</p>