Hi,

Maximilian Kirchner wrote:
I want to use screen to keep track of my gameservers - for instance my 
minecraft server.
Now I want to send the command "list" (which lists all players) to the server 
and write the result in a file.
When I use "screen -p 0 -S minecraft-w1 -X eval 'stuff list\015'" the command is 
evaluated, but I can only see the result when returning to screen via "screen -r 
minecraft-w1". Is there any way to write the result to my shell or into a file?
The command "list" is not executed as an own command but just as a prompt 
within the minecraft-server, so I cannot just pipe the command-output into a file.

I just replied a short time ago for a similar requirement -- the solution should work for you too!

Cheers

--
Kind Regards
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP


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

Reply via email to