From 77125798a45ed8322a15f8ba0a54a5418edfb8cd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 14 Mar 2024 12:15:15 +0530 Subject: [PATCH] Redirect to NULL instead of pipe since we dont use the output --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 36705b6df..e66fe7580 100755 --- a/setup.py +++ b/setup.py @@ -1067,7 +1067,7 @@ def update_go_generated_files(args: Options, kitty_exe: str) -> None: env = os.environ.copy() env['ASAN_OPTIONS'] = 'detect_leaks=0' - cp = subprocess.run([kitty_exe, '+launch', os.path.join(src_base, 'gen/go_code.py')], stdout=subprocess.PIPE, env=env) + cp = subprocess.run([kitty_exe, '+launch', os.path.join(src_base, 'gen/go_code.py')], stdout=subprocess.DEVNULL, env=env) if cp.returncode != 0: raise SystemExit(f'Generating go code failed with exit code: {cp.returncode}')