diff --git a/sbysrc/sby_core.py b/sbysrc/sby_core.py index 482e168..b0698d2 100644 --- a/sbysrc/sby_core.py +++ b/sbysrc/sby_core.py @@ -234,7 +234,10 @@ class SbyJob: if task.running: fds.append(task.p.stdout) - select(fds, [], [], 1.0) == ([], [], []) + try: + select(fds, [], [], 1.0) == ([], [], []) + except InterruptedError: + pass for task in self.tasks_running: task.poll()