From b88789211b27aa7e096db2aead8e2c83ee144ed9 Mon Sep 17 00:00:00 2001 From: zx Date: Fri, 6 Sep 2024 19:26:45 -0400 Subject: [PATCH] chore: silence warning --- cyan/tbhtypes/executable.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cyan/tbhtypes/executable.py b/cyan/tbhtypes/executable.py index b014742..7d834a4 100644 --- a/cyan/tbhtypes/executable.py +++ b/cyan/tbhtypes/executable.py @@ -199,7 +199,10 @@ class Executable: ).returncode == 0 def change_dependency(self, old: str, new: str) -> None: - subprocess.run([self.nt, "-change", old, new, self.path]) + subprocess.run( + [self.nt, "-change", old, new, self.path], + stderr=subprocess.DEVNULL + ) def insert_cmd(self, cmd: str) -> None: if self.inj is None: # type: ignore