03-10-2007, 10:56 AM
Hey all,
Want to write a shell script that gets called by a PHP script to manage a server or two.
I was wondering if it is possible to have a shell script input commands INTO a screen session - just as if I were doing screen -r and typing in commands. I want the script to put in commands, like change map.
If someone could give me a quick explanation on how this might be achieved, I'll be very grateful.
Want to write a shell script that gets called by a PHP script to manage a server or two.
I was wondering if it is possible to have a shell script input commands INTO a screen session - just as if I were doing screen -r and typing in commands. I want the script to put in commands, like change map.
If someone could give me a quick explanation on how this might be achieved, I'll be very grateful.