Talk:AlphaGSM

From Sector Alpha Wiki
Revision as of 16:00, 25 February 2015 by Staircase (talk | contribs)
Jump to: navigation, search
  • 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.
    • code handles more cases - http://ftp.tummy.com/pub/tummy/Python/tail.py