No. I was using `screen` so as to be able to close the terminal window without terminating server. You can see http://linux.die.net/man/1/screen for more information. If I clicked the close button, the screen would just detach from the terminal and both, the screen and the server, would run farther, in the background.
I don't think this issue can be closed just because it has solution in some situations like when you use Minecraft_Server.exe or when you execute the server directly in a terminal.
You're saying the server is not really running, so it cannot stop. So just one condition to check if the server is running when typing "stop" command would be enough. It could function like now if the server is running and just send SIGTERM to itself when it isn't running. Simple, not opressing workaround.
No. I was using `screen` so as to be able to close the terminal window without terminating server. You can see http://linux.die.net/man/1/screen for more information. If I clicked the close button, the screen would just detach from the terminal and both, the screen and the server, would run farther, in the background.
I don't think this issue can be closed just because it has solution in some situations like when you use Minecraft_Server.exe or when you execute the server directly in a terminal.
You're saying the server is not really running, so it cannot stop. So just one condition to check if the server is running when typing "stop" command would be enough. It could function like now if the server is running and just send SIGTERM to itself when it isn't running. Simple, not opressing workaround.