diff --git a/src/libtmux/server.py b/src/libtmux/server.py index c0ad1dc50..e2fdb4d29 100644 --- a/src/libtmux/server.py +++ b/src/libtmux/server.py @@ -247,7 +247,11 @@ def raise_if_dead(self) -> None: cmd_args.insert(0, f"-f{self.config_file}") try: - subprocess.check_call([resolved, *cmd_args]) + subprocess.check_call( + [resolved, *cmd_args], + stdout=subprocess.DEVNULL, + stderr=subprocess.DEVNULL, + ) except FileNotFoundError: raise exc.TmuxCommandNotFound from None