diff --git a/slideshow.py b/slideshow.py index 8baea27..488873e 100755 --- a/slideshow.py +++ b/slideshow.py @@ -33,7 +33,8 @@ class RoutineRunner: def run(self, interval): while True: - subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT) + output = subprocess.check_output(self.cmd, shell=True, stderr=subprocess.STDOUT) + print(output) sleep(interval) @@ -94,6 +95,8 @@ class Slideshow: ################# def main(): + # sync = RoutineRunner("ls") + # sync.run(sync_time) slideshow = Slideshow(display_size, display_time, directory, True) slideshow.scan() slideshow.run()