Steven Silvester 7 anni fa
parent
commit
08c6439305
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      jupyterlab/commands.py

+ 1 - 1
jupyterlab/commands.py

@@ -83,7 +83,7 @@ def run(cmd, **kwargs):
         logger.info(output)
         raise error
     finally:
-        if not proc.returncode:
+        if proc.returncode is None:
             proc.terminate()