diff --git a/src/libtmux/server.py b/src/libtmux/server.py index c69463424..30046f80d 100644 --- a/src/libtmux/server.py +++ b/src/libtmux/server.py @@ -246,7 +246,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