mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
Prevent go test output being interleaved with python
This commit is contained in:
parent
a3369465dc
commit
88beb58838
1 changed files with 2 additions and 0 deletions
|
|
@ -178,6 +178,8 @@ def run_python_tests(args: Any, go_proc: 'Optional[subprocess.Popen[bytes]]' = N
|
|||
if go_proc.wait(0.1) is None:
|
||||
go_proc.kill()
|
||||
|
||||
sys.stdout.flush()
|
||||
sys.stderr.flush()
|
||||
print(go_proc.stdout.read().decode('utf-8', 'replace'), end='', flush=True)
|
||||
go_proc.stdout.close()
|
||||
go_proc.wait()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue