Maximilian Kirchner <max.kirch...@gmx.de> said
                (on Mon, Apr 18, 2011 at 11:35:41PM +0200):
> Now I want to send the command "list" (which lists all players) to the server 
> and write the result in a file.


Did you try:

        rm screenlog.0
        screen -p 0 -S minecraft-w1 -X log on
        screen -p 0 -S minecraft-w1 -X stuff 'list\012'
        sleep 2
        screen -p 0 -S minecraft-w1 -X log off
        more screenlog.0

-- 
Geraint A. Edwards (aka "Gedge")
ge...@yadn.org

_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to