1

GNU-Screen Stuff problems

view story
linux-howto

http://www.unix.com – Code: OPTIONS="java -Xms1024M -Xmx1024M -jar craftbukkit.jar" PROCESS=server01 screen -dmS $PROCESS $OPTIONS nogui            # Starting the application screen -x $PROCESS -X stuff `printf "stop\r"`  # Closing the application screen -x $PROCESS                              # Attaching to the terminal of the application The problem I'm facing with is that "-X stuff `printf "stop\r"`" Doesn't work if the process has never been "s (HowTos)