Browse Source

Try a proc terminate in finally

Steven Silvester 7 years ago
parent
commit
dd52e21177
1 changed files with 2 additions and 0 deletions
  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):