Minecraft wiki entry for Create_a_Mac_OS_X_startup_daemon, associated text: There are multiple ways to send out commands, including a mkfifo that will work well, but will cause problems with carriage returns. So, it is preferable to use a file, and append the commands you want to send to the java through a pipe.