Fix jumbled error output when using Windows spawn fix

(cherry picked from commit 4a3cb1447351c2e915f2beb8c34780d2c6fe3e43)
This commit is contained in:
Pedro J. Estébanez 2022-08-12 08:01:56 +02:00 committed by Relintai
parent 8f26bc61b5
commit 509c6c37ea

View File

@ -386,6 +386,7 @@ def use_windows_spawn_fix(self, platform=None):
startupinfo=startupinfo, startupinfo=startupinfo,
shell=False, shell=False,
env=env, env=env,
text=True,
) )
_, err = proc.communicate() _, err = proc.communicate()
rv = proc.wait() rv = proc.wait()