Browse Source

Fix jumbled error output when using Windows spawn fix

(cherry picked from commit 4a3cb1447351c2e915f2beb8c34780d2c6fe3e43)
Pedro J. Estébanez 3 years ago
parent
commit
cbe542f96a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      methods.py

+ 1 - 0
methods.py

@@ -333,6 +333,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()