Difference between revisions of "Talk:AlphaGSM"
From Sector Alpha Wiki
(Created page with "http://wiki.sector-alpha.net/index.php?title=Game_Server_Management_Tool") |
|||
Line 1: | Line 1: | ||
− | + | * Code to emulate <code>tail -f</code>. This is needed to programmatically check the output of a server. <br /> Basically we open the log before we send a command. Seek to the end, send our command and then keep reading any output given till we decide we have read enough and then close the file. |
Revision as of 15:59, 25 February 2015
- Code to emulate
tail -f
. This is needed to programmatically check the output of a server.
Basically we open the log before we send a command. Seek to the end, send our command and then keep reading any output given till we decide we have read enough and then close the file.