Steven Silvester 7 年之前
父節點
當前提交
fccb85e34e
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      jupyterlab/commands.py

+ 1 - 2
jupyterlab/commands.py

@@ -83,8 +83,7 @@ def run(cmd, **kwargs):
         logger.info(output)
         raise error
     finally:
-        if proc.returncode is None:
-            proc.terminate()
+        proc.wait()
 
 
 def install_extension(extension, app_dir=None, logger=None):