I would like a way to safely terminate the server from another application, a simple command would probably be the easiest solution to implement into MineCraft. I'd rather not call Kill on the process as the server has no time to clean up.
Type in "stop" on the server and it should do the trick.
6
Type in "stop" on the server and it should do the trick.