소스 검색

Try a proc terminate in finally

Steven Silvester 7 년 전
부모
커밋
dd52e21177
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      jupyterlab/commands.py

+ 2 - 0
jupyterlab/commands.py

@@ -83,6 +83,8 @@ def run(cmd, **kwargs):
         output = error.output.decode('utf-8')
         logger.info(output)
         raise error
+    finally:
+        proc.terminate()
 
 
 def install_extension(extension, app_dir=None, logger=None):