I am creating a control panel for minecraft and need to find a way to send commands to a screen session. I can run a shell script from php’s system() command. But when I do:
screen -S minecraft -X stuff “stop”
and switch to my sceen session, it shows stop written but it is as if enter was not pressed after enterin the command
So, how do I simulate enter in shell?
Click below to sign up and get $100 of credit to try our products over 60 days!