diff options
-rwxr-xr-x | monitor-rebuild | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/monitor-rebuild b/monitor-rebuild new file mode 100755 index 0000000..21f0f54 --- /dev/null +++ b/monitor-rebuild @@ -0,0 +1,14 @@ +#!/usr/bin/python3 + +import sys + + +while True: + f = open(sys.argv[1]) + + while True: + x = f.readline() + if not x: + break + print("got line:", x) + |