Redirect to NULL instead of pipe since we dont use the output
This commit is contained in:
parent
c26954c69e
commit
77125798a4
1 changed files with 1 additions and 1 deletions
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}')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue