The use of two dashes did not make a difference. Don't mark as invalid unless you have tested it and found it to be workIng.
I have this problem too. Running on OS X 10.9 with Server.app tools installed.
My start.sh script looks like:
tail -n 0 -f stdin.commandlist | java -Xmx1G -Xms1G -jar minecraft_server.jar nogui 1>>command.log 2>>error.log
I can run the server only when locally logged into the machine and the server does open a window. Currently reverted to version mine craft 1.6.4 until this is fixed.
I have this problem too with 1.7.2. The problem does not occur with 1.6.4.
My start.sh script looks like:
tail -n 0 -f stdin.commandlist | java -Xmx1G -Xms1G -jar minecraft_server.jar nogui 1>>command.log 2>>error.log
I have tried replacing nogui with --nogui, it makes no difference
I appreciate you keeping on this. I'm still stick running 1.6.4 because of it.
I consider it a major bug to not be able to run a server software on an actual server machIne. This bug means it can't be run headless.