Selaa lähdekoodia

#8600: Added UTF-8 encoding parameter to create process

Devansh Goenka 4 vuotta sitten
vanhempi
commit
ac62b77ca8
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      jupyterlab/commands.py

+ 1 - 0
jupyterlab/commands.py

@@ -87,6 +87,7 @@ class ProgressProcess(Process):
             stderr=subprocess.STDOUT,
             stdout=subprocess.PIPE,
             universal_newlines=True,
+            encoding='utf-8',
         )
         self._kill_event = kill_event or Event()