mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 06:25:13 +02:00
Redirect to NULL instead of pipe since we dont use the output
This commit is contained in:
2
setup.py
2
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}')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user