PyFoam.Execution.BasicWatcher module¶
Watches the output of Foam-run
-
class
PyFoam.Execution.BasicWatcher.BasicWatcher(filenames, silent=False, tailLength=1000, sleep=0.1, endTime=None, follow=True)[source]¶ Bases:
objectBase class for watching the output of commands
Works like the UNIX-command ‘tail -f <file>’: the last lines of the file are output. If the file grows then these lines are output as they arrive