[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: write command-result to console

From: Andrew McGlashan
Subject: Re: write command-result to console
Date: Thu, 21 Apr 2011 02:39:43 +1000
User-agent: Thunderbird (Windows/20100228)


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!


Kind Regards

Andrew McGlashan
Broadband Solutions now including VoIP

reply via email to

[Prev in Thread] Current Thread [Next in Thread]